Skip to content

Instantly share code, notes, and snippets.

@amatkivskiy
Created November 25, 2018 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amatkivskiy/27180853776c1205233b94192e47b1cb to your computer and use it in GitHub Desktop.
Save amatkivskiy/27180853776c1205233b94192e47b1cb to your computer and use it in GitHub Desktop.
medium_TokenDataProviderTest
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