@Test
    void verifySmsNoAtr() {
        assertFalse(communicationsManager.isSmsSenderDefined());
        val smsRequest = SmsRequest.builder()
            .principal(mock(Principal.class))
            .attribute("bad-attribute")
            .text("sms text")
            .build();
        assertFalse(communicationsManager.sms(smsRequest));
    }
This is {@link DefaultCommunicationsManagerTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-notifications/src/test/java/org/apereo/cas/notifications/DefaultCommunicationsManagerTests.java