NameIDBuilder nameIDBuilder = new NameIDBuilder();
AssertionBuilder assertionBuilder = new AssertionBuilder();
List<Attribute> attrs = Collections.emptyList();
credential = new SAMLCredential(
nameIDBuilder.buildObject("uri:the-namespace", "localName", "prefix"),
assertionBuilder.buildObject("uri:the-namespace", "localName", "prefix"),
"remoteEntityID", "relayState", attrs, "localEntityID");
redirectStrategy = createMock(RedirectStrategy.class);