public testGetConstraintsSchema ( ) |
public function testGetConstraintsSchema()
{
$constraintsSchema = array('minStringLength' => array('type' => 'int', 'default' => 0), 'maxStringLength' => array('type' => 'int', 'default' => null));
$validator = new StringLengthValidator();
$this->assertSame($constraintsSchema, $validator->getConstraintsSchema());
}