AbstractMockFactory

abstract class AbstractMockFactory(val stubRepository: StubRepository, val instantiator: AbstractInstantiator, gatewayAccessIn: StubGatewayAccess)

Inheritors

JvmMockFactory

Constructors

Link copied to clipboard
constructor(stubRepository: StubRepository, instantiator: AbstractInstantiator, gatewayAccessIn: StubGatewayAccess)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val log: Logger
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun isMock(value: Any): Boolean
Link copied to clipboard
open fun <T : Any> mockk(mockType: KClass<T>, name: String?, relaxed: Boolean, moreInterfaces: Array<out KClass<*>>, relaxUnitFun: Boolean): T
Link copied to clipboard
abstract fun <T : Any> newProxy(cls: KClass<out T>, moreInterfaces: Array<out KClass<*>>, stub: Stub, useDefaultConstructor: Boolean = false, instantiate: Boolean = false): T
Link copied to clipboard
open fun <T : Any> spyk(mockType: KClass<T>?, objToCopy: T?, name: String?, moreInterfaces: Array<out KClass<*>>, recordPrivateCalls: Boolean): T
Link copied to clipboard
open fun temporaryMock(mockType: KClass<*>): Any