@Test
    public void testBadDate() {
        assertNull(this.converter.convert(BAD_DATE));
    }
This class tests the {@link DateConverter} class.

@author Jerome Leleu
@since 1.0.0
pac4j-core/src/test/java/org/pac4j/core/profile/converter/DateConverterTests.java