@Test
public void getsEntityTag() throws Exception {

    MultivaluedMap<String, Object> headers = new MultivaluedHashMap<>();
    EntityTag entityTag = new EntityTag("bar");
    headers.putSingle(ETAG, entityTag);
    ResponseImpl response = new ResponseImpl(200, "foo", null, headers);
    assertSame(entityTag, response.getEntityTag());
}