@Test
public void getsDate() throws Exception {

    MultivaluedMap<String, Object> headers = new MultivaluedHashMap<>();
    Date entityTag = new Date();
    headers.putSingle(DATE, entityTag);
    ResponseImpl response = new ResponseImpl(200, "foo", null, headers);
    assertSame(entityTag, response.getDate());
}