* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
*/
public class FileBasedMetadataProviderUnitTestCase extends TestCase {
public void testFileBasedEntityMetadataProvider() {
FileBasedEntityMetadataProvider metadataProvider = new FileBasedEntityMetadataProvider();
EntityDescriptorType metadata = getMetadata(metadataProvider, "saml2/metadata/sp-entitydescriptor.xml");
assertEquals(metadata.getEntityID(), "https://service.example.org/shibboleth");
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(metadata);
assertNull(spSSODescriptor.isAuthnRequestsSigned());