@Test
    void verifyNasSettings() {
        val factory = RadiusClientFactory.builder()
            .authenticationPort(1234)
            .authenticationPort(5678)
            .socketTimeout(1)
            .inetAddress("131.211.138.166")
            .sharedSecret("1234")
            .build();
        val context = RadiusServerConfigurationContext.builder()
            .protocol(RadiusProtocol.MSCHAPv2)
            .radiusClientFactory(factory)
            .nasIpAddress("3.2.1.0")
            .nasIpv6Address("0:0:0:0:0:ffff:302:100")
            .nasPort(ACCOUNTING_PORT)
            .nasPortId(1234)
            .nasIdentifier(UUID.randomUUID().toString())
            .nasRealPort(ACCOUNTING_PORT)
            .nasPortType(1)
            .build();
        assertThrows(TimeoutException.class, () -> new BlockingRadiusServer(context).authenticate(USERNAME, USERNAME));
    }
This is {@link BlockingRadiusServerTests}.
Runs test cases against a radius server running on "<a href="https://console.ironwifi.com/">here</a>".

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