Created
February 3, 2019 13:02
-
-
Save gilgoldzweig/3cc68d231e141ac9dbc5791f3be8dd0a to your computer and use it in GitHub Desktop.
The first part of the ExamplePresenterTest
This file contains hidden or 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
@RunWith(MockitoJUnitRunner::class) | |
class ExamplePresenterTest { | |
@Mock | |
private lateinit var view: ExampleContract.View | |
@Spy | |
private var presenter: ExamplePresenter = ExamplePresenter() | |
@Before | |
fun setUp() { | |
presenter.attach(view) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment