ManageController { @RequestMapping(method = RequestMethod.GET, value = "/internal/serviceProviders") public List<EntityMetaData> serviceProviders() { return manage.serviceProviders(); } @Autowired  ManageController(Manage manage); @RequestMapping(method = RequestMethod.GET, value = "/internal/serviceProviders") List<EntityMetaData> serviceProviders(); @RequestMapping(method = RequestMethod.GET, value = "/internal/identityProviders") List<EntityMetaData> identityProviders(); @RequestMapping(method = RequestMethod.GET, value = "/internal/identityProviders/scoped") List<EntityMetaData> identityProvidersScoped();  }
@Test public void testServiceProviders() throws Exception { assertEquals(51, subject.serviceProviders().size()); }