@Test
public void shouldParseValidAttachmentHeaderCaseInsensitive() throws MalformedInputException {

    // CHECKSTYLE.OFF: LineLength
    MultipartHeadersPart headers = multipartHeadersPartParser
            .parse("CONTENT-DISPOSITION: attachment; NAME=\"FIELDNAME\"; FILENAME=\"FILE.PDF\"\nContent-TYPE: application/pdf");
    // CHECKSTYLE.ON: LineLength
    assertThat(headers.getFileName(), is("FILE.PDF"));
    assertThat(headers.getName(), is("FIELDNAME"));
    assertThat(headers.getContentType(), is("application/pdf"));
}