public void deleteJohnDoeApplicationDataWithInvalidField() throws Exception {
// Do delete with invalid field
this.appDataServiceDb.deletePersonData(new UserId(Type.userId, "john.doe"), new GroupId(GroupId.Type.self, "@self"), DEFAULT_APPLICATION_ID, SpiTestUtil.asSet("peabody"), SpiTestUtil.DEFAULT_TEST_SECURITY_TOKEN);
// Verify that delete did not occur
Future<DataCollection> results = this.appDataServiceDb.getPersonData(SpiTestUtil.buildUserIds("john.doe"), new GroupId(GroupId.Type.self, "@self"), DEFAULT_APPLICATION_ID, SpiTestUtil.asSet("count"), SpiTestUtil.DEFAULT_TEST_SECURITY_TOKEN);
DataCollection data = results.get();
assertEquals(1, data.getEntry().size());
assertEquals("0", data.getEntry().get("john.doe").get("count"));
}