public merge ( Fuel\Validation\ResultInterface $resultInterface, $fieldPrefix = '' ) | ||
$resultInterface | Fuel\Validation\ResultInterface |
public function testMergeWithStatus() { $result1 = new Result(); $result1->setResult(true); // merging this should cause the $result1 to no longer be valid $result2 = new Result(); $result2->setResult(false); $result1->merge($result2); $this->assertFalse($result1->isValid()); }