deleteResult._id = command;
for (SharePojo result: results) {
if (command.equals(result.getTitle())) {
_driver.removeShare(result.get_id().toString(), responseObj);
deleteResult.found = responseObj.isSuccess();
return new StringRepresentation(deleteResult.toApi(), MediaType.APPLICATION_JSON);
}
}//TESTED (7)
deleteResult.found = false;
return new StringRepresentation(deleteResult.toApi(), MediaType.APPLICATION_JSON);
}//TESTED (7)