public function Framework_MockObject_GeneratorTest::testGetMockFailsWhenInvalidFunctionNameIsPassedInAsAFunctionToMock

@covers PHPUnit_Framework_MockObject_Generator::getMock @expectedException PHPUnit_Framework_Exception

File

drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php, line 8

Class

Framework_MockObject_GeneratorTest

Code

public function testGetMockFailsWhenInvalidFunctionNameIsPassedInAsAFunctionToMock() {
  PHPUnit_Framework_MockObject_Generator::getMock('StdClass', array(
    0,
  ));
}