@Test(expectedExceptions = UnexpectedResponseException.class, expectedExceptionsMessageRegExp = "Expected application/x-jackson-smile response from server but got text/plain; charset=utf-8")
public void testNonJsonResponse()
{

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