@Override
    public SmileResponse<T> handle(Request request, Response response)
    {
        byte[] bytes = readResponseBytes(response);
        String contentType = response.getHeader(CONTENT_TYPE);
        if ((contentType == null) || !MediaType.parse(contentType).is(MEDIA_TYPE_SMILE)) {
            return new SmileResponse<>(response.getStatusCode(), response.getHeaders(), bytes);
        }
        return new SmileResponse<>(response.getStatusCode(), response.getHeaders(), smileCodec, bytes);
    }
@Test
    public void testNonSmileResponse()
    {
        SmileResponse<User> response = handler.handle(null, TestingResponse.mockResponse(OK, PLAIN_TEXT_UTF_8, "hello"));

        assertFalse(response.hasValue());
        assertNull(response.getException());
        assertNull(response.getSmileBytes());
        assertEquals(response.getResponseBytes(), "hello".getBytes(UTF_8));
    }