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