public function floatValidatorReturnsErrorForAnInvalidFloat($float) { $this->assertTrue($this->validator->validate($float)->hasErrors()); }