# multiplatform

Miguel Oliveira

11/21/2023, 11:30 AM
Hello! I'm developing a library using Kotlin Multiplatform that is consumed by iOS clients. In this library I'm exposing an interface that the clients want to create a test double of. Let's say:
Copy code
public interface SomeKotlinInterface {
    public fun someKotlinMethod(): String
Is there a way for me to provide a test fixture for it? Or is there any way that the iOS client can create a test double that always throws SomeKotlinException when someKotlinMethod() is called? Thank you.