@Test
    @Order(1)
    void verifyOperation() throws Throwable {
        val banner = new DefaultCasBanner();
        assertNotNull(banner.getTitle());
        assertNotNull(AbstractCasBanner.LINE_SEPARATOR);

        val environment = new MockEnvironment();
        try (val os = new ByteArrayOutputStream(); val out = new PrintStream(os)) {
            assertDoesNotThrow(() -> banner.printBanner(environment, this.getClass(), out));
            assertNotNull(os.toByteArray());
        }
    }
This is {@link DefaultCasBannerTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/spring/boot/DefaultCasBannerTests.java