@Test
    void parseWithEscapedQuote() {
        final BiConsumer<String, String> tester = (description, filename) -> {
            assertThat(parse("form-data; name=\"file\"; filename=\"" + filename + '"'))
                    .as(description)
                    .isEqualTo(ContentDisposition.builder("form-data")
                                                 .name("file")
                                                 .filename(filename)
                                                 .build());
        };

        tester.accept("Escaped quotes should be ignored",
                      "\\\"The Twilight Zone\\\".txt");

        tester.accept("Escaped quotes preceded by escaped backslashes should be ignored",
                      "\\\\\\\"The Twilight Zone\\\\\\\".txt");

        tester.accept("Escaped backslashes should not suppress quote",
                      "The Twilight Zone \\\\");

        tester.accept("Escaped backslashes should not suppress quote",
                      "The Twilight Zone \\\\\\\\");
    }
Unit tests for {@link ContentDisposition}.
@author Sebastien Deleuze
@author Rossen Stoyanchev
core/src/test/java/com/linecorp/armeria/common/ContentDispositionTest.java