@Test
  public void testGetEventServiceUrl_WithSlash() throws Exception {
    // given
    String baseUrl = "http://127.0.0.1:8080/test";
    Mockito.doReturn(baseUrl + "/")
        .when(configService)
        .getProxyConfigurationSetting(PlatformConfigurationKey.APP_BASE_URL);
    // when
    String eventServiceUrl = platformService.getEventServiceUrl();

    // then
    assertEquals(baseUrl + "/notify", eventServiceUrl);
  }
  @Test
  public void testGetBSSWebServiceUrl_SAML_SP() throws Exception {
    // given
    String baseUrl = "http://127.0.0.1:8080/test";
    Mockito.doReturn(baseUrl)
        .when(configService)
        .getProxyConfigurationSetting(PlatformConfigurationKey.BSS_STS_WEBSERVICE_URL);
    Mockito.doReturn("SAML_SP")
        .when(configService)
        .getProxyConfigurationSetting(PlatformConfigurationKey.BSS_AUTH_MODE);
    // when
    String webServiceUrl = platformService.getBSSWebServiceUrl();

    // then
    assertEquals(baseUrl, webServiceUrl);
  }