private void setupPostData() throws SocialSpiException {
String jsonActivity = "{title: hi mom!, etc etc}";
setPathAndPostData("/people/john.doe/@self/@app", jsonActivity);
Activity activity = new ActivityImpl();
EasyMock.expect(converter.convertToObject(jsonActivity, Activity.class)).andReturn(activity);
EasyMock.expect(activityService.createActivity(JOHN_DOE.iterator().next(),
new GroupId(GroupId.Type.self, null), "appId", Sets.<String>newHashSet(),
activity, token)).andReturn(ImmediateFuture.newInstance((Void) null));