/**
  * Test getting constraints schema.
  *
  * @covers \eZ\Publish\Core\FieldType\Validator::getConstraintsSchema
  */
 public function testGetConstraintsSchema()
 {
     $constraintsSchema = array('maxFileSize' => array('type' => 'int', 'default' => false));
     $validator = new FileSizeValidator();
     $this->assertSame($constraintsSchema, $validator->getConstraintsSchema());
 }
 /**
  * Test getting constraints schema
  *
  * @covers \eZ\Publish\Core\FieldType\Validator::getConstraintsSchema
  */
 public function testGetConstraintsSchema()
 {
     $constraintsSchema = array("maxFileSize" => array("type" => "int", "default" => false));
     $validator = new FileSizeValidator();
     $this->assertSame($constraintsSchema, $validator->getConstraintsSchema());
 }