public function PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php \PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
Creates a mock object for an abstract class using a fluent interface.
Return value
PHPUnit_Framework_MockObject_MockObject
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ MockBuilder.php, line 109
Class
- PHPUnit_Framework_MockObject_MockBuilder
- Implementation of the Builder pattern for Mock objects.
Code
public function getMockForAbstractClass() {
return $this->testCase
->getMockForAbstractClass($this->type, $this->constructorArgs, $this->mockClassName, $this->originalConstructor, $this->originalClone, $this->autoload, $this->methods, $this->cloneArguments);
}