Created
August 2, 2017 08:33
-
-
Save igorwojda/00552158e32ec52c6e5aeb0ff516f253 to your computer and use it in GitHub Desktop.
Kotlin JUnit Test when_take_view_register_event_bus
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
@Test | |
fun `when take view then register event bus`() { | |
// given | |
profilePresenter.takeView(mockView) | |
// then | |
then(mockEventBus).should().register(profilePresenter) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment