UrlResourceManage implements Manage { @Override public List<EntityMetaData> identityProviders() { return parseEntities(getIdpResource(this.body)); } UrlResourceManage(
            String username,
            String password,
            String manageBaseUrl); @Override List<EntityMetaData> serviceProviders(); @Override List<EntityMetaData> identityProviders(); @Override Set<EntityMetaData> identityProvidersByAuthenticatingAuthority(String authenticatingAuthority); @Override Set<EntityMetaData> serviceProvidersByInstitutionId(String institutionId); @Override Optional<EntityMetaData> serviceProviderOptionalByEntityId(String entityId); @Override Optional<EntityMetaData> identityProviderOptionalByEntityId(String entityId); @Override Map<String, EntityMetaData> identityProvidersByEntityIds(Collection<String> entityIds); @Override Map<String, EntityMetaData> serviceProvidersByEntityIds(Collection<String> entityIds); @Override EntityMetaData serviceProviderByEntityId(String entityId); @Override EntityMetaData identityProviderByEntityId(String entityId);  }
@Test public void testNoNameFallback() { List<EntityMetaData> identityProviders = subject.identityProviders(); String idpEntityId = "https: EntityMetaData idp = identityProviders.stream().filter(metaData -> metaData.getEntityId().equals(idpEntityId) ).collect(singletonCollector()); assertEquals(idpEntityId, idp.getNameEn()); assertEquals(idpEntityId, idp.getNameNl()); }