KMockMulti

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class KMockMulti(name: String, interfaces: KClass<*>)

Determines which interfaces should be stubbed/mocked as a union of them for a arbitrary source set.

Author

Matthias Geisler

Parameters

name

name which used for the mock.

interfaces

variable amount of interfaces.

Constructors

KMockMulti
Link copied to clipboard
common
fun KMockMulti(name: String, vararg interfaces: KClass<*>)
name which used for the mock.

Properties

interfaces
Link copied to clipboard
common
val interfaces: Array<out KClass<*>>
name
Link copied to clipboard
common
val name: String