/** * @covers StringValidator::setMinLengthValid * @todo Implement testSetMinLengthValid(). */ public function testSetMinLengthValid() { $errorMsg = "The string length is small"; $this->object->setMinLengthValid(5, $errorMsg); $testValue = "Test"; $result = $this->object->validate($testValue); $this->assertEquals($result[0], $errorMsg); }