Created
May 2, 2020 17:18
-
-
Save pranay1494/41a06d52cb0543211bafd172572bdf05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Before | |
fun setUp(){ | |
MockitoAnnotations.initMocks(this) | |
viewModel = UserViewModel(repository,dispatcherRule.testDispatcher) | |
viewModel.getData().observeForever(observer) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment