@Test
public void getsContentLengthAsLong() throws Exception {

    MultivaluedMap<String, String> headers = new MultivaluedMapImpl();
    headers.putSingle(HttpHeaders.CONTENT_LENGTH, "111");
    final long contentLength = HeaderHelper.getContentLengthLong(headers);
    assertEquals(111L, contentLength);
}