()
| 17 | } |
| 18 | |
| 19 | @Test(expected = InvalidRequestError.class) |
| 20 | public void testInvalidRequest() throws IOException |
| 21 | { |
| 22 | dispatcher.registerResponse("GET", "http://app/users/me").code(400).content("{ \"errors\": [{ \"message\": \"Missing input\" }] }"); |
| 23 | |
| 24 | client.users.me().execute(); |
| 25 | } |
| 26 | |
| 27 | @Test(expected = ServerError.class) |
| 28 | public void testServerError() throws IOException |
nothing calls this directly
no test coverage detected