dave08
09/16/2018, 5:12 PMfun Application.module() { kodeinApp(Kodein { /* bindings */ }) }
and then have fun Application.kodeinApp(kodein: Kodein) { /* All the real declarations here */ }
should work fine, then in the test code fun Application.testModule() { kodeinApp(Kodein { /* bindings */ }) }
. My bad, I'm too OOP oriented... (now I appreciate how @Deactivated User set up his example here: https://github.com/ktorio/ktor-samples/blob/master/other/di-kodein/src/KodeinSimpleApplication.kt)