@Test
    void formatWithEncodedFilenameUsingInvalidCharset() {
        assertThatThrownBy(() -> {
            ContentDisposition.builder("form-data")
                              .name("name")
                              .filename("test.txt", StandardCharsets.UTF_16);
        }).isInstanceOf(IllegalArgumentException.class)
          .hasMessageContaining("Charset: UTF-16 (expected: US-ASCII, UTF-8 or ISO-8859-1)");
    }
Unit tests for {@link ContentDisposition}.
@author Sebastien Deleuze
@author Rossen Stoyanchev
core/src/test/java/com/linecorp/armeria/common/ContentDispositionTest.java