public function testErrorsIfAssertionIsValid() { $property = new entity\property\Property('car'); $property->addPropertyRule(new \dicom\workflow\rules\AlwaysTrueRule()); $executionResult = $property->executeRules('4 wheel', '4 wheel', $errors = []); static::assertTrue($executionResult->isSuccess()); }