// create facebook post
String contentUrl = URLUtils.makeContentURL(STATUS_FBID,
ContentTypeEnum.EVENT.name());
Content content = createDummyContentFromUrl(contentUrl);
content.addAttribute(new Attribute("owner", "George Boosley",
Attribute.ATTRIBUTE_TYPE_TEXT));
content.addAttribute(new Attribute("name", "TestEvent",
Attribute.ATTRIBUTE_TYPE_TEXT));
content.addAttribute(new Attribute("description", "some test event",
Attribute.ATTRIBUTE_TYPE_TEXT));
content.addAttribute(new Attribute("startTime", tomorrow + "",
Attribute.ATTRIBUTE_TYPE_TEXT));
content.addAttribute(new Attribute("endTime", tomorrowX2 + "",
Attribute.ATTRIBUTE_TYPE_TEXT));
// check if documents exists in object graph
assertTrue(repo.getContentByProvider(providerID, true).size() == 0);