@covers PHPUnit_Framework_Constraint_Callback @expectedException PHPUnit_Framework_ExpectationFailedException @expectedExceptionMessage Failed asserting that 'This fails' is accepted by specified callback.
public function testConstraintCallbackFailure() {
$constraint = PHPUnit_Framework_Assert::callback(function () {
return FALSE;
});
$constraint
->evaluate('This fails');
}