@BeforeEach
        void initialize() {
            val request = new MockHttpServletRequest();
            request.setRemoteAddr("185.86.151.11");
            request.setLocalAddr("185.88.151.11");
            ClientInfoHolder.setClientInfo(ClientInfo.from(request));

            val props = casProperties.getSmsProvider().getRest();
            val port = URI.create(props.getUrl()).getPort();
            
            webServer = new MockWebServer(port,
                new ByteArrayResource(StringUtils.EMPTY.getBytes(StandardCharsets.UTF_8), "REST Output"),
                MediaType.APPLICATION_JSON_VALUE);
            webServer.start();
        }
This is {@link RestfulSmsSenderTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-notifications/src/test/java/org/apereo/cas/notifications/sms/RestfulSmsSenderTests.java