List<InventoryStatus> committedStatus = new ArrayList<InventoryStatus>(1);
List<InventoryStatus> ignoredStatus = new ArrayList<InventoryStatus>(1);
committedStatus.add(InventoryStatus.COMMITTED);
ignoredStatus.add(InventoryStatus.IGNORED);
ResourceCriteria criteria = new ResourceCriteria();
criteria.addFilterParentInventoryStatuses(committedStatus);
criteria.addFilterId(serverIds.get(0));
// excursus: look for the server with the given ID but only if the parent is committed (this should return the resource)
List<Resource> lookup = resourceManager.findResourcesByCriteria(subjectManager.getOverlord(), criteria);
assert 1 == lookup.size() : lookup;