You are here

public static function Framework_MockObject_GeneratorTest::getMockForAbstractClassExpectsInvalidArgumentExceptionDataprovider 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::getMockForAbstractClassExpectsInvalidArgumentExceptionDataprovider()

Dataprovider for test "testGetMockForAbstractClassExpectingInvalidArgumentException"

File

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

Class

Framework_MockObject_GeneratorTest

Code

public static function getMockForAbstractClassExpectsInvalidArgumentExceptionDataprovider() {
  return array(
    'className not a string' => array(
      array(),
      '',
    ),
    'mockClassName not a string' => array(
      'Countable',
      new StdClass(),
    ),
  );
}