You are here

public function Framework_MockObject_GeneratorTest::testGetMockGeneratorFails in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

Framework_MockObject_GeneratorTest

Code

public function testGetMockGeneratorFails() {
  $mock = $this->generator
    ->getMock('StdClass', array(
    'foo',
    'foo',
  ));
}