@Test
    void verifyAction() throws Throwable {
        val banner = new SamlBannerContributor();
        val writer = new StringWriter();
        val out = WriterOutputStream.builder().setWriter(writer).setCharset(StandardCharsets.UTF_8).get();
        val environment = new MockEnvironment();
        try (val stream = new PrintStream(out, true, StandardCharsets.UTF_8)) {
            banner.contribute(new Formatter(stream), environment);
        }
        val output = writer.toString();
        assertNotNull(output);
    }
This is {@link SamlBannerContributorTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-saml-core-api/src/test/java/org/apereo/cas/support/saml/SamlBannerContributorTests.java