}
}
public void testGetContent() {
String contentURL = "facebook/accessTokenKey/543824877/user";
Content c = userBuilder.getContent(contentURL);
assertEquals(contentProvider.getId(), c.getProvider());
assertEquals(ContentTypeEnum.USER.name(), c.getType());
assertEquals(contentURL, c.getContentUrl());
assertTrue(c.getAttributes().size() > 0);
assertEquals("543824877", c.getAttributeByName("id").getValue());
assertEquals("George Boosley", c.getAttributeByName("name").getValue());
assertEquals("George", c.getAttributeByName("firstName").getValue());
assertEquals("Boosley", c.getAttributeByName("lastName").getValue());
assertEquals("male", c.getAttributeByName("gender").getValue());
assertEquals("en_US", c.getAttributeByName("locale").getValue());
assertEquals("http://www.facebook.com/profile.php?id=543824877", c
.getAttributeByName("link").getValue());
}