ConstructorMockFactory

interface ConstructorMockFactory

Controls constructor mocking

Functions

Link copied to clipboard
abstract fun clear(type: KClass<*>, options: MockKGateway.ClearOptions)
Link copied to clipboard
abstract fun clearAll(options: MockKGateway.ClearOptions)
Link copied to clipboard
abstract fun constructorMockk(    cls: KClass<*>,     recordPrivateCalls: Boolean,     localToThread: Boolean): () -> Unit
Link copied to clipboard
abstract fun <T : Any> mockPlaceholder(cls: KClass<T>, args: Array<Matcher<*>>? = null): T