Mock

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Mock(interfaces: KClass<*>)

Determines which interfaces should be stubbed/mocked

Author

Matthias Geisler

Parameters

interfaces

variable amount of interfaces.

Constructors

Mock
Link copied to clipboard
common
fun Mock(vararg interfaces: KClass<*>)
variable amount of interfaces.

Properties

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