@Test
public void parsesContentLengthHeader() throws Exception {

    MultivaluedMap<String, Object> headers = new MultivaluedHashMap<>();
    headers.putSingle(CONTENT_LENGTH, "3");
    ResponseImpl response = new ResponseImpl(200, "foo", null, headers);
    assertEquals(3, response.getLength());
}