.andReturn(expectedUser);
// register behavior
EasyMock.replay(mockFbClient);
Content content = builder.getContent(contentUrl);
// verify
EasyMock.verify();
// assertions
assertNotNull(content);
assertNotNull(content.getModificationDate());
assertEquals(ContentTypeEnum.USER.name(), content.getType());
assertEquals(providerID, content.getProvider());
assertTrue(content.getAttributes().size() > 0);
// test all attributes
assertEquals("Baban Robert", content.getAttributeByName("name")
.getValue());
assertNotNull(content.getAttributeByName("education"));
}