nrobi
01/05/2021, 11:24 AMKoinTestRule
example?
I’m trying to use KoinTestRule.create{ }
then koinTestRule.koin.loadModules()
to override some bean definitions with mocks, though I’m bumping into:
java.lang.IllegalStateException: A KoinContext is already started
nrobi
01/05/2021, 11:45 AMstopKoin()
was missing, extending AutoCloseKoinTest()
instead of KoinTest
does the job also