Hello! I'm developing a library using Kotlin Multi...
# multiplatform
m
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 {
    @Throws(SomeKotlinException::class)
    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.