@Test
public void multipleAcceptLanguageHeadersSameValue() throws Exception {

  final Header header = BatchParserCommon.consumeHeaders(toLineList(
      "Accept-Language:en-US,en;q=0.7,en-UK;q=0.9" + CRLF,
      "Accept-Language:en-US,en;q=0.7" + CRLF,
      "content-type: Application/http" + CRLF,
      "content-transfer-encoding: Binary" + CRLF));
  assertNotNull(header);
  final List<String> acceptLanguageHeader = header.getHeaders(HttpHeader.ACCEPT_LANGUAGE);
  assertNotNull(acceptLanguageHeader);
  assertEquals(3, acceptLanguageHeader.size());
}