ManageController { @RequestMapping(method = RequestMethod.GET, value = "/internal/identityProviders") public List<EntityMetaData> identityProviders() { return manage.identityProviders(); } @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 testIdentityProviders() throws Exception { assertEquals(13, subject.identityProviders().size()); }