private void assertConvertsDifferently(String expectedPattern, String oldExpectedPattern, String inputPattern) {
        String oldConverted = oldConvertPattern(inputPattern);
        String converted = converter.convert(inputPattern);
        assertEquals(expectedPattern, converted, "Expected new conversion to match result");
        assertEquals(oldExpectedPattern, oldConverted, "Expected old conversion to match result");
    }
Checks that the pattern is converted differently compared to before PF 9
(i.e. the conversion was fixed)
primefaces/src/test/java/org/primefaces/convert/DateTimePatternConverterTest.java