Skip to content

Instantly share code, notes, and snippets.

@elihart
Created November 20, 2019 20:22
Show Gist options
  • Save elihart/a237dc884e7ca0ff54a879cd27df095b to your computer and use it in GitHub Desktop.
Save elihart/a237dc884e7ca0ff54a879cd27df095b to your computer and use it in GitHub Desktop.
MvRxViewModelUnitTestSimpleExample
@Test
fun setText() = TextViewModel::setText {
withParams("hello") expectState {
copy(text = "hello")
}
}
@martymiller
Copy link

I cannot find withParams or expectState anywhere in the MvRx code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment