public function Framework_ConstraintTest::testConstraintCallbackInvalidArrayArgumentWithEmptyArray

@covers PHPUnit_Framework_Constraint_Callback @expectedException InvalidArgumentException @expectedExceptionMessage Specified callback <empty array> is not callable.

File

drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php, line 1880

Class

Framework_ConstraintTest
@package PHPUnit @author Sebastian Bergmann <sebastian@phpunit.de> @author Bernhard Schussek <bschussek@2bepublished.at> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license …

Code

public function testConstraintCallbackInvalidArrayArgumentWithEmptyArray() {
  PHPUnit_Framework_Assert::callback(array());
}