/** * @covers StringValidator::setMaxLengthValid * @todo Implement testSetMaxLengthValid(). */ public function testSetMaxLengthValid() { $errorMsg = "The string length is large"; $this->object->setMaxLengthValid(10, $errorMsg); $testValue = "Test0123456789"; $result = $this->object->validate($testValue); $this->assertEquals($result[0], $errorMsg); }