@Test
public void testInvalidSmileGetValue()
{

    SmileResponse<User> response = handler.handle(null, createSmileResponse(OK, ImmutableMap.of(
            "age", "foo"
    )));
    try {
        response.getValue();
        fail("expected exception");
    }
    catch (IllegalStateException e) {
        assertEquals(e.getMessage(), "Response does not contain a SMILE value");
        assertSame(e.getCause(), response.getException());
    }
}