Skip to content

Instantly share code, notes, and snippets.

@elihart
Created November 20, 2019 20:34
Show Gist options
  • Save elihart/3dc27901c3cdc9db80decab31aff1cac to your computer and use it in GitHub Desktop.
Save elihart/3dc27901c3cdc9db80decab31aff1cac to your computer and use it in GitHub Desktop.
MvRxViewModelInitializationTestExample
@Test
fun initialization() = testInitialization(
expectRequests = {
GET("text/endpoint")
},
expectState = {
copy(text = Loading())
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment