addSocialLink();
UserResource user = realm.users().get("user1");
assertEquals(1, user.getSocialLinks().size());
SocialLinkRepresentation link = user.getSocialLinks().get(0);
assertEquals("social-provider-id", link.getSocialProvider());
assertEquals("social-user-id", link.getSocialUserId());
assertEquals("social-username", link.getSocialUsername());
}