/**
  * @covers StringValidator::setPatternValid
  * @todo Implement testSetPatternValid().
  */
 public function testSetRequiredValid()
 {
     $errorMsg = "The input is required";
     $this->object->setRequireValid($errorMsg);
     $testValue = "";
     $result = $this->object->validate($testValue);
     $this->assertEquals($result[0], $errorMsg);
     $this->object->setRequireValid();
     $testValue = "";
     $errorMsg = "ERROR!";
     $result = $this->object->validate($testValue);
     $this->assertEquals($result[0], $errorMsg);
 }