amanda.hinchman-dominguez
@Before fun before() { startKoin { module { App.modules(context) + DataSource.modules + Feature.modules + Repository.modules + Service.modules } } } private val context: Context by inject() private val navigator: Navigator by inject() private val viewModel: MainActivityViewModel by inject() @Test fun `Load conferences successfully`() { val success = Result.Success(20201) getCurrentConferenceId(success) viewModel.loadConferences(false) verify(navigator, never()).navigateToError(from = Screen.SCHEDULE) }
A modern programming language that makes developers happier.