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