You are here

public function Framework_MockObject_GeneratorTest::testGetMockFailsWhenInvalidFunctionNameIsPassedInAsAFunctionToMock in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php \Framework_MockObject_GeneratorTest::testGetMockFailsWhenInvalidFunctionNameIsPassedInAsAFunctionToMock()

@covers PHPUnit_Framework_MockObject_Generator::getMock @expectedException PHPUnit_Framework_Exception

File

vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php, line 18

Class

Framework_MockObject_GeneratorTest

Code

public function testGetMockFailsWhenInvalidFunctionNameIsPassedInAsAFunctionToMock() {
  $this->generator
    ->getMock('StdClass', array(
    0,
  ));
}