SpController extends SharedController { @PutMapping("/assertionConsumerServiceURL") public void setAssertionConsumerServiceURL(@RequestBody String assertionConsumerServiceURL) { LOG.info("Request to set assertionConsumerServiceURL to {}", assertionConsumerServiceURL); configuration().setAssertionConsumerServiceURL(assertionConsumerServiceURL); } @Autowired  SpController(final SpConfiguration configuration); @PutMapping(value = {"/ssoServiceURL"}) void setSsoServiceURL(@RequestBody String ssoServiceURL); @PutMapping("/protocolBinding") void setProtocolBinding(@RequestBody String protocolBinding); @PutMapping("/assertionConsumerServiceURL") void setAssertionConsumerServiceURL(@RequestBody String assertionConsumerServiceURL);  }
@Test public void setAssertionConsumerServiceURL() throws Exception { String assertionConsumerServiceURL = "https: api(assertionConsumerServiceURL, "/api/assertionConsumerServiceURL"); assertEquals(assertionConsumerServiceURL, spConfiguration.getAssertionConsumerServiceURL()); }