Created
November 25, 2018 20:28
-
-
Save amatkivskiy/27180853776c1205233b94192e47b1cb to your computer and use it in GitHub Desktop.
medium_TokenDataProviderTest
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
class TokenDataProviderTest { | |
@Test | |
fun `cast issue`() { | |
val result = TokenDataProvider() | |
.getToken() | |
.blockingFirst() | |
result.fold({ | |
assertEquals(it, "token") | |
}, { | |
fail("should not go here") | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment