()
| 33 | } |
| 34 | |
| 35 | @Test(expected = NotFoundError.class) |
| 36 | public void testNotFound() throws IOException |
| 37 | { |
| 38 | dispatcher.registerResponse("GET", "http://app/users/me").code(404).content("{ \"errors\": [ { \"message\": \"user: Unknown object: 1234\" } ] }"); |
| 39 | |
| 40 | client.users.me().execute(); |
| 41 | } |
| 42 | |
| 43 | @Test(expected = ForbiddenError.class) |
| 44 | public void testForbidden() throws IOException |
nothing calls this directly
no test coverage detected