Created
May 31, 2018 12:44
-
-
Save bijancn/4f0a279133ebafc9dc39b1ba53b363a0 to your computer and use it in GitHub Desktop.
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
loadNumberOfItems("foo.bar") shouldBe a [Int] | |
// InvalidUrlException | |
loadNumberOfItems("http://google.com") shouldBe a [Int] | |
// InvalidPayloadException | |
loadNumberOfItems("http://actual.server.endpoint.com/number") shouldBe a [Int] | |
// ParsingException | |
loadNumberOfItems("http://actual.server.endpoint.com/number") shouldBe a [Int] | |
// ClassCastException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment