@Test
    void verifyAuthenticationSuccess() throws Throwable {
        val server = getRadiusServer();
        val response = server.authenticate("casuser", "Mellon");
        assertEquals(2, response.code());
        assertFalse(response.attributes().isEmpty());
        assertTrue(response.attributes().stream()
            .anyMatch(a -> a.getAttributeName().equals(Attr_MSCHAP2Success.NAME)));
    }
This is {@link AbstractRadiusServerTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-radius-core/src/test/java/org/apereo/cas/adaptors/radius/AbstractRadiusServerTests.java