koin-test / org.koin.test.core.instance / SandboxInstanceFactory

SandboxInstanceFactory

class SandboxInstanceFactory : InstanceFactory

Sandbox Instance Factory Create mock version of each dependency to help resolve all dependency graph without executing the real instance

Constructors

<init>

SandboxInstanceFactory()

Sandbox Instance Factory Create mock version of each dependency to help resolve all dependency graph without executing the real instance

Functions

create

fun <T> create(def: BeanDefinition<T>, scope: Scope?): InstanceHolder<T>