*/
public void testWithWarningMessage() {
OfficeIdSpecification spec1 = new OfficeIdSpecification();
AvailableOfficeSpecification spec2 = new AvailableOfficeSpecification();
IOffice office1 = new Office();
IEmployee emp1 = new Employee();
office1.setOfficeId("aaa");
emp1.setMatriculationCode("1");
office1.addEmployee(emp1);
Notification notification = new NotificationImpl();
assertFalse(this.compositeSpecification.compose(spec1).withMessage(new MessageImpl("wrong.office.id", Message.Type.WARNING, "Wrong Office Id"), false)
.and(spec2).withMessage(new MessageImpl("office.unavailable", Message.Type.WARNING, "Office Not Available"), false)