You are here

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

@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass @expectedException PHPUnit_Framework_MockObject_RuntimeException

File

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

Class

Framework_MockObject_GeneratorTest

Code

public function testGetMockForAbstractClassAbstractClassDoesNotExist() {
  $mock = $this->generator
    ->getMockForAbstractClass('Tux');
}