params.put("fields", new String[]{"pandas"});
String path = "/appdata/john.doe/@self/appId";
RestHandler operation = registry.getRestHandler(path, "DELETE");
EasyMock.expect(appDataService.deletePersonData(eq(JOHN_DOE.iterator().next()),
eq(new GroupId(GroupId.Type.self, null)),
eq("appId"), eq(ImmutableSet.of("pandas")), eq(token)))
.andReturn(ImmediateFuture.newInstance((Void) null));
replay();
assertNull(operation.execute(params, null, token, converter).get());