@Test
public void testJsonErrorResponse()
{

    String json = "{\"error\": true}";
    User response = handler.handle(null, mockResponse().status(INTERNAL_SERVER_ERROR).contentType(JSON_UTF_8).body(json).build());
    assertSame(response, DEFAULT_VALUE);
}