You are here

public function PHPUnit_Framework_MockObject_MockBuilder::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php \PHPUnit_Framework_MockObject_MockBuilder::__construct()

Parameters

PHPUnit_Framework_TestCase $testCase:

array|string $type:

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php, line 77

Class

PHPUnit_Framework_MockObject_MockBuilder
Implementation of the Builder pattern for Mock objects.

Code

public function __construct(PHPUnit_Framework_TestCase $testCase, $type) {
  $this->testCase = $testCase;
  $this->type = $type;
}