@Test
public void getsContentLengthMinusOneIfHeaderIsNotSet() throws Exception {

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