this.specificationsList.add(new InverseSpecification(specification));
return this;
}
public CompositeSpecification withMessage(Message message, boolean whenSatisfied) {
Specification lastSpecification = this.specificationsList.get(this.specificationsList.size() - 1);
lastSpecification.addMessage(message, whenSatisfied);
return this;
}