}
public void testPerformActionOnFriendWall() throws IQserTechnicalException{
assertEquals(0, repo.getContentByProvider(fbcp.getId()).size());
Content noteContent = new Content();
noteContent.setContentUrl(URLUtils.makeContentURL("noIdYet", "note"));
noteContent.getAttributes().add(new Attribute("name","My post name",Attribute.ATTRIBUTE_TYPE_TEXT));
noteContent.getAttributes().add(new Attribute("message","Check out this funny article",Attribute.ATTRIBUTE_TYPE_TEXT));
noteContent.getAttributes().add(new Attribute("from_id","543824877",Attribute.ATTRIBUTE_TYPE_TEXT));
builder.performAction(FacebookContentProvider.ACTION_POST, noteContent);
String fbid = URLUtils.getFbId(noteContent.getContentUrl());
//note should be removed from object graph
assertEquals(1, repo.getContentByProvider(fbcp.getId()).size());
//note should be in from Facebook
assertTrue(fbClient.getObjectExistsOnFacebook(fbid));
//delete content
Content newContent = builder.getContent(noteContent.getContentUrl());
builder.performAction(FacebookContentProvider.ACTION_DELETE, newContent);
//note should be removed from object graph
assertEquals(0, repo.getContentByProvider(fbcp.getId()).size());
//note should be removed from Facebook