public function testSetAndGetError()
 {
     $errA = new ValidatorException('aa');
     $errB = new ValidatorException('bb');
     $this->object->setError($errA, 'aa');
     $this->assertEquals($errA, $this->object->getError('aa'));
     $this->assertNotEquals($errB, $this->object->getError('aa'));
 }