public function Framework_MockObject_GeneratorTest::testGetMockGeneratorFails in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php \Framework_MockObject_GeneratorTest::testGetMockGeneratorFails()
@covers PHPUnit_Framework_MockObject_Generator::getMock @expectedException PHPUnit_Framework_MockObject_RuntimeException @expectedExceptionMessage duplicates: "foo, foo"
File
- vendor/
phpunit/ phpunit-mock-objects/ tests/ GeneratorTest.php, line 37
Class
Code
public function testGetMockGeneratorFails() {
$mock = $this->generator
->getMock('StdClass', array(
'foo',
'foo',
));
}