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