/** * @covers Brickoo\Component\Validation\Constraint\FunctionCallbackConstraint::__construct * @covers Brickoo\Component\Validation\Constraint\FunctionCallbackConstraint::matches */ public function testAssertionOfOneValueFails() { $functionCallbackConstraint = new FunctionCallbackConstraint("is_integer"); $this->assertFalse($functionCallbackConstraint->matches("failure !!!")); }