tccl.getResourceAsStream("metadata/testshib.org.idp-metadata.xml"));
tcl.setProfile("DUMMY");
tcl.setDelegate(tccl);
Thread.currentThread().setContextClassLoader(tcl);
auth.testStart();
assertEquals("https://idp.testshib.org/idp/profile/SAML2/POST/SSO", auth.getIdentityURL());
X509Certificate idpCert = auth.getIdpCertificate();
assertNotNull(idpCert);
assertEquals("CN=idp.testshib.org, O=TestShib, L=Pittsburgh, ST=Pennsylvania, C=US", idpCert.getIssuerDN().getName());
}