/** * @covers ::getValueLength */ public function testGetValueLength() { $this->assertEquals(9, AbstractLengthAssertion::getValueLength('sldkjfhal')); $this->assertEquals(2, AbstractLengthAssertion::getValueLength('32')); }
/** * @return array */ public function getMessageParameters() { return parent::getMessageParameters() + [':maxLength' => $this->maxLength]; }