@Test
public void testGetRequestHeaders() throws Exception {

    MultivaluedMap<String, String> headersMap = httpHeaders1.getRequestHeaders();
    List<String> headerValues = headersMap.get("testA");
    assertEquals(headerValues.size(), 2);
    assertTrue(headerValues.contains("test1"));
    assertTrue(headerValues.contains("test2"));
    headerValues = headersMap.get("Accept");
    assertEquals(headerValues.size(), 1);
    assertTrue(headerValues.contains("application/json"));
}