@Test
    void verifySmsSender() throws Throwable {
        val data = '{'
            + "\"messages\": ["
            + '{'
            + "\"apiMessageId\": \"77fb29998253415fa5d66971d519d362\","
            + "\"accepted\": true,"
            + "\"to\": \"380976543211\","
            + "\"error\": null"
            + "},"
            + '{'
            + "\"apiMessageId\": \"d2a7b3f2a72a4c798f3f385ee92ee5ce\","
            + "\"accepted\": true,"
            + "\"to\": \"380976543212\","
            + "\"error\": null"
            + '}'
            + "],"
            + "\"error\": null"
            + '}';

        val props = casProperties.getSmsProvider().getClickatell();
        val port = URI.create(props.getServerUrl()).getPort();
        try (val webServer = new MockWebServer(port,
            new ByteArrayResource(data.getBytes(UTF_8), "Output"), OK)) {
            webServer.start();
            assertTrue(smsSender.send("123-456-7890", "123-456-7890", "TEST"));
        }
    }
This is {@link ClickatellSmsSenderTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-sms-clickatell/src/test/java/org/apereo/cas/support/sms/ClickatellSmsSenderTests.java