IDPInfoHolder idp = new IDPInfoHolder();
idp.setNameIDFormatValue(IDGenerator.create());
SAML2Response saml2Response = new SAML2Response();
SPInfoHolder sp = new SPInfoHolder();
sp.setResponseDestinationURI("http://fakesp");
sp.setIssuer("http://fakesp");
ResponseType rt = saml2Response.createResponseType("response111", sp, idp, issuerHolder);
Assert.assertNotNull(rt);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
saml2Response.marshall(rt, baos);