Created
January 16, 2022 05:28
-
-
Save vikasmain/6c536fc44d4aaf155b897f546e52ee6b 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
@DisplayName("test on click listener for movie item") | |
@Test | |
fun testOnclickListener() { | |
MovieStateFlow.onClickStateFlow.value = "Spider man" | |
moviePresenter.observeOnClickStateFlow() | |
verify(view).openSingleItemView("Spider man") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment