Skip to content

Instantly share code, notes, and snippets.

@dmytrodanylyk
Last active October 19, 2017 22:40
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 dmytrodanylyk/c8fd0ec9ba8b271aa3f7a478736d9281 to your computer and use it in GitHub Desktop.
Save dmytrodanylyk/c8fd0ec9ba8b271aa3f7a478736d9281 to your computer and use it in GitHub Desktop.
@Test
fun test() {
val dataProvider = Mockito.mock(DataProviderAPI::class.java)
val mockView = Mockito.mock(MainView::class.java)
val presenter = MainPresenter(mockView, dataProvider, Unconfined, Unconfined)
presenter.startPresenting()
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment