@Test
public void multipleAcceptHeaders() throws Exception {

  final Header header = BatchParserCommon.consumeHeaders(toLineList(
      "Accept: application/atomsvc+xml;q=0.8, application/json;odata=verbose;q=0.5, */*;q=0.1" + CRLF,
      "Accept: text/plain;q=0.3" + CRLF,
      "Accept-Language:en-US,en;q=0.7,en-UK;q=0.9" + CRLF,
      "content-type: Application/http" + CRLF,
      "content-transfer-encoding: Binary" + CRLF));
  assertNotNull(header);
  final List<String> acceptHeader = header.getHeaders(HttpHeader.ACCEPT);
  assertNotNull(acceptHeader);
  assertEquals(4, acceptHeader.size());
}