assertTrue(invalidValues.isEmpty());
CriterionType type = CriterionType.create("", "");
type.setResource(ResourceEnum.WORKER);
Criterion criterion = Criterion.create(type);
CriterionRequirement requirement = DirectCriterionRequirement
.create(criterion);
requirement.setOrderElement(orderElement);
orderElement.addDirectCriterionRequirement(requirement);
invalidValues = orderElementValidator.validate(orderElement);
assertTrue(invalidValues.isEmpty());
}