@Test
public void testGetHttpHeaders() {

  HttpHeaders headers = createNiceMock(HttpHeaders.class);
  MultivaluedMap<String, String> mapHeaders = new MultivaluedMapImpl();
  Request request = getTestRequest(headers, null, null, null, null, null, null);
  expect(headers.getRequestHeaders()).andReturn(mapHeaders);
  replay(headers);
  assertSame(mapHeaders, request.getHttpHeaders());
  verify(headers);
}