@Test
    public void testBadString() {
        assertNull(this.converter.convert(BAD_COLOR));
    }
This class tests the {@link ColorConverter} class.

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