tschuchort
07/03/2019, 2:59 PMclass MainViewModelTest : KoinTest {
    val predictionUC by inject<PredictionUseCase>()
    val routeUC by inject<RouteInfoUseCase>()
    val vmFactory by inject<MainViewModel.Factory>()
    @Before
    fun before() {
        startKoin {
            modules(appModule)
        }
        declareMock<PredictionUseCase> {  }
        declareMock<RouteInfoUseCase> {  }
    }
    @After
    fun after() {
        stopKoin()
    }
    @Test
    fun `_`() {
        val vm = vmFactory.create(emptyList())
        vm.onFilePicked(File(""))
        verify(predictionUC).onFilePicked(File(""))
    }
}no interactions with this mock