kryo.register(GoogleOpenIdProfile.class);
}
@Override
protected void verifyProfile(final UserProfile userProfile) {
final GoogleOpenIdProfile profile = (GoogleOpenIdProfile) userProfile;
logger.debug("userProfile : {}", profile);
final String id = "AItOawmMrzkgh-RhXW-d0iQ16ybkKpReh7g-hQQ";
assertEquals("https://www.google.com/accounts/o8/id?id=" + id, profile.getId());
assertEquals(GoogleOpenIdProfile.class.getSimpleName() + UserProfile.SEPARATOR
+ "https://www.google.com/accounts/o8/id?id=" + id, profile.getTypedId());
assertTrue(ProfileHelper.isTypedIdOf(profile.getTypedId(), GoogleOpenIdProfile.class));
assertCommonProfile(userProfile, "testscribeup@gmail.com", "Jérôme", "ScribeUP", "Jérôme ScribeUP", null,
Gender.UNSPECIFIED, Locale.FRANCE, null, null, "FR");
assertEquals(5, profile.getAttributes().size());
}