org.easymock.EasyMock.expect(appDataService.updatePersonData(eq(JOHN_DOE.iterator().next()),
eq(new GroupId(GroupId.Type.self, null)),
eq("appId"), eq(ImmutableSet.of("pandas")), eq(values), eq(token)))
.andReturn(ImmediateFuture.newInstance((Void) null));
replay();
return operation.execute(params, new StringReader(jsonAppData), token, converter);
}
@Test
public void testHandlePost() throws Exception {
assertNull(setupPostData("POST").get());