TestMutableInjectionEnvironment
interface TestMutableInjectionEnvironment : ExtensibleInjectionEnvironment, ContextBuilderDsl
Content copied to clipboard
Interface for common utilities in test Tegral DI environments, such as UnsafeMutableEnvironment. This is mostly intended to ease writing interfaces that combine further DSLs into a single interface (such as ControllerTestContext
from Tegral Web Controllers).
Functions
Link copied to clipboard
abstract fun <T : Any> createInjector(identifier: Identifier<T>, onInjection: (T) -> Unit): Injector<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun <T : Any> getResolverOrNull(identifier: Identifier<T>): IdentifierResolver<T>?
Content copied to clipboard