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