Assertion attributeAssertion = helper.getValidAssertion();
attributeAssertion.getAttributeStatements().add(helper.getAttributeStatement("assertion2", "value2"));
validResponse.getAssertions().add(attributeAssertion);
messageContext.setInboundSAMLMessage(validResponse);
messageContext.setInboundSAMLMessageAuthenticated(true);
SAMLCredential samlCredential = profile.processAuthenticationResponse(messageContext);
assertTrue(samlCredential.getAttributes().size() == 1);
}