@Test
public void testSLOResponseFromSalesforce() throws Exception {
ClassLoader tcl = Thread.currentThread().getContextClassLoader();
InputStream configStream = tcl.getResourceAsStream("parser/saml2/saml2-logout-response-salesforce.xml");
SAMLParser parser = new SAMLParser();
StatusResponseType response = (StatusResponseType) parser.parse(configStream);
assertNotNull("ResponseType is not null", response);
assertEquals(XMLTimeUtil.parse("2012-06-08T10:00:31.924Z"), response.getIssueInstant());
assertEquals("2.0", response.getVersion());
assertEquals("_580ef9943601e7d453514edab43ff2d01339149631922", response.getID());