@Test
    void verifyOperation() throws Throwable {
        assertTrue(notificationSender.canSend());
        assertFalse(new DefaultNotificationSender(List.of()).notify(CoreAuthenticationTestUtils.getPrincipal(), Map.of()));

        val sender = mock(NotificationSender.class);
        when(sender.getOrder()).thenCallRealMethod();
        assertEquals(Ordered.LOWEST_PRECEDENCE, sender.getOrder());

        val smsSender = mock(SmsSender.class);
        when(smsSender.send(anyString(), anyString(), anyString())).thenCallRealMethod();
        assertFalse(smsSender.send("1", "2", "3"));
    }
This is {@link DefaultNotificationSenderTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-notifications/src/test/java/org/apereo/cas/notifications/push/DefaultNotificationSenderTests.java