Skip to content

Instantly share code, notes, and snippets.

@cp-radhika-s
Last active December 22, 2021 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cp-radhika-s/1a1d86fa34194ad710df20eced2426cd to your computer and use it in GitHub Desktop.
Save cp-radhika-s/1a1d86fa34194ad710df20eced2426cd to your computer and use it in GitHub Desktop.
class MainViewModelTest {
private val userServices = mock<UserServices>()
private lateinit var viewModel: MainViewModel
@Before
fun setup(){
viewModel = MainViewModel(userServices)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment