@Test(expectedExceptions = UnexpectedResponseException.class, expectedExceptionsMessageRegExp = "Content-Type is not set for response")
public void testMissingContentType()
{

    handler.handle(null, mockResponse().body("hello").build());
}