TegralControllerTest
abstract class TegralControllerTest<TSubject : Any>(subjectClass: KClass<TSubject>, baseModule: InjectableModule) : TegralAbstractSubjectTest<TSubject, ControllerTestContext>
Content copied to clipboard
A subject-based test for Controllers-based classes (more specifically, for subclasses of KtorModule and KtorController).
The constructors follow the same pattern as TegralSubjectTest
Constructors
Link copied to clipboard
fun <TSubject : Any> TegralControllerTest(subjectClass: KClass<TSubject>, baseModuleBuilder: ContextBuilderDsl.() -> Unit)
Content copied to clipboard
Link copied to clipboard
fun <TSubject : Any> TegralControllerTest(constructor: KFunction<TSubject>)
Content copied to clipboard
Link copied to clipboard
fun <TSubject : Any> TegralControllerTest(subjectClass: KClass<TSubject>, baseModule: InjectableModule)
Content copied to clipboard