public function Framework_MockObject_GeneratorTest::testGetMockForAbstractClassDoesNotFailWhenFakingInterfaces

@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass

File

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

Class

Framework_MockObject_GeneratorTest

Code

public function testGetMockForAbstractClassDoesNotFailWhenFakingInterfaces() {
  $mock = PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass('Countable');
  $this
    ->assertTrue(method_exists($mock, 'count'));
}