@Test
    void verifyOperation() {
        val context = LoggerContext.getContext(false);
        val logger = context.getLogger(CasAppender.class.getName());
        val appender = (CasAppender) logger.getAppenders().get("CasAppender");
        assertNotNull(appender);
        assertDoesNotThrow(() -> {
            new CasAppender("CasAppender2", mock(Configuration.class),
                AppenderRef.createAppenderRef("ref", Level.INFO, appender.getFilter()),
                appender.getFilter(), 10);
            logger.info("Testing CasAppender...");
        });
    }
This is {@link CasAppenderTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-logging-api/src/test/java/org/apereo/cas/logging/CasAppenderTests.java