### Question:
PageJsonSerializer implements JsonSerializer<Page<T>> { public JSONObject serialize(Page object) { throw new RuntimeException("Not supported"); } PageJsonSerializer(JsonSerializer<T> inner); Page<T> deserialize(JSONObject data); List<Page<T>> deserialize(JSONArray data); JSONObject serialize(Page object);  }### Answer:
@Test(expected = RuntimeException.class) public void serializeFailure() throws JSONException { pageJsonSerializer.serialize(new Page<>(0,0,0,new ArrayList<>())); }