Peter Farlow
09/14/2020, 9:01 PMMatt Thompson
09/14/2020, 11:06 PMloadKoinModules
with a module that’s been instantiated with override = true
that has a dependency with the same type, it should override any modules that have already been loadedMatt Thompson
09/14/2020, 11:07 PMarnaud.giuliani
09/15/2020, 7:59 AMdeclareMock
APIarnaud.giuliani
09/15/2020, 7:59 AMMatt Thompson
09/15/2020, 2:18 PMdeclareMock
because I set up something as I described above before you added the MockProviderRule
which decoupled the library from mockitoPeter Farlow
09/15/2020, 2:22 PMPeter Farlow
09/15/2020, 2:29 PMdeclareMock
help with this?Matt Thompson
09/15/2020, 2:44 PMDeclareMock.kt
is that it instantiates the mock via your mockprovider and adds it to your definitions. might have to stick with loadKoinModules
and unloadKoinModules
for tests that don’t start/stop koinPeter Farlow
09/16/2020, 3:12 PM