Skip to content

Instantly share code, notes, and snippets.

@michalbujalski
Last active October 15, 2018 20:43
Show Gist options
  • Save michalbujalski/89866f426d44ecf8023d90e41deefeac to your computer and use it in GitHub Desktop.
Save michalbujalski/89866f426d44ecf8023d90e41deefeac to your computer and use it in GitHub Desktop.
@Test
fun `update username, success`(){
val testUsername = "John Doe"
whenever(view.username).thenReturn(testUsername)
presenter.submitForm()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment