Created
November 20, 2019 20:34
-
-
Save elihart/3dc27901c3cdc9db80decab31aff1cac to your computer and use it in GitHub Desktop.
MvRxViewModelInitializationTestExample
This file contains hidden or 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 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