@Test
    void verifyError() throws Throwable {
        val data = '{'
            + "\"messages\": ["
            + "],"
            + "\"error\": \"error message\","
            + "\"accepted\": \"false\""
            + '}';

        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();
            assertFalse(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