### Question:
TokenJsonSerializer implements JsonSerializer<Token> { public JSONObject serialize(Token object) { throw new RuntimeException("Not supported"); }  Token deserialize(JSONObject response); List<Token> deserialize(JSONArray data); JSONObject serialize(Token object);  }### Answer:
@Test(expected = RuntimeException.class) public void serializeFailure() throws JSONException { tokenJsonSerializer.serialize(new Token()); }