public function testRun() { $fieldName = 'email'; $this->object->addRule($fieldName, new Email()); $this->assertTrue($this->object->run(array($fieldName => '[email protected]'))->isValid()); }