Mohammed Audhil

Results 2 comments of Mohammed Audhil

is this the final way to write a test case, for error case? >`@Test fun testExceptionThrown() = coroutinesTestRule.testDispatcher.runBlockingTest { val assertionThrown = false try { val viewModel = MyViewModel() viewModel.throwException()...