public function Framework_MockObject_GeneratorTest::testGetMockGeneratorFails

@covers PHPUnit_Framework_MockObject_Generator::getMock @expectedException PHPUnit_Framework_Exception @expectedExceptionMessage duplicates: "foo, foo"

File

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

Class

Framework_MockObject_GeneratorTest

Code

public function testGetMockGeneratorFails() {
  $mock = PHPUnit_Framework_MockObject_Generator::getMock('StdClass', array(
    'foo',
    'foo',
  ));
}