@Test
public void parsesEntityTagHeader() throws Exception {

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