public function testConstraintsSetGet()
{
$constraints = array('minFloatValue' => 0.5, 'maxFloatValue' => 22 / 7);
$validator = new FloatValueValidator();
$validator->minFloatValue = $constraints['minFloatValue'];
$validator->maxFloatValue = $constraints['maxFloatValue'];
$this->assertSame($constraints['minFloatValue'], $validator->minFloatValue);
$this->assertSame($constraints['maxFloatValue'], $validator->maxFloatValue);
}