kryo.register(Saml2Profile.class);
}
@Override
protected void verifyProfile(UserProfile userProfile) {
Saml2Profile profile = (Saml2Profile) userProfile;
assertEquals("[Member, Staff]", profile.getAttribute("urn:oid:1.3.6.1.4.1.5923.1.1.1.1").toString());
assertEquals("[myself]", profile.getAttribute("urn:oid:0.9.2342.19200300.100.1.1").toString());
assertEquals("[Me Myself And I]", profile.getAttribute("urn:oid:2.5.4.3").toString());
assertEquals("[myself@testshib.org]", profile.getAttribute("urn:oid:1.3.6.1.4.1.5923.1.1.1.6").toString());
assertEquals("[555-5555]", profile.getAttribute("urn:oid:2.5.4.20").toString());
assertEquals("[Member@testshib.org, Staff@testshib.org]",
profile.getAttribute("urn:oid:1.3.6.1.4.1.5923.1.1.1.9").toString());
assertEquals("[urn:mace:dir:entitlement:common-lib-terms]",
profile.getAttribute("urn:oid:1.3.6.1.4.1.5923.1.1.1.7").toString());
assertEquals("[Me Myself]", profile.getAttribute("urn:oid:2.5.4.42").toString());
assertEquals("[And I]", profile.getAttribute("urn:oid:2.5.4.4").toString());
}