public void testTrustedProviders() throws Exception {
FileBasedMetadataConfigurationStore fbd = new FileBasedMetadataConfigurationStore();
Map<String, String> trustedProviders = new HashMap<String, String>();
trustedProviders.put("idp1", "http://localhost:8080/idp1/metadata");
trustedProviders.put("idp2", "http://localhost:8080/idp2/metadata");
fbd.persistTrustedProviders(id, trustedProviders);
// Lets get back
Map<String, String> loadTP = fbd.loadTrustedProviders(id);
assertNotNull("Loaded Trusted Providers not null", loadTP);