@Test
  public void testGettersSetters() throws Exception {
    ServiceProperties[] sps = {new ServiceProperties(), new SamlServiceProperties()};
    for (ServiceProperties sp : sps) {
      sp.setSendRenew(false);
      assertThat(sp.isSendRenew()).isFalse();
      sp.setSendRenew(true);
      assertThat(sp.isSendRenew()).isTrue();
      sp.setArtifactParameter("notticket");
      assertThat(sp.getArtifactParameter()).isEqualTo("notticket");
      sp.setServiceParameter("notservice");
      assertThat(sp.getServiceParameter()).isEqualTo("notservice");

      sp.setService("https://mycompany.com/service");
      assertThat(sp.getService()).isEqualTo("https://mycompany.com/service");

      sp.afterPropertiesSet();
    }
  }