Specifies the name for the mock class.
Parameters
string $name:
Return value
PHPUnit_Framework_MockObject_MockBuilder
File
- drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/MockBuilder.php, line 184
Class
- PHPUnit_Framework_MockObject_MockBuilder
- Implementation of the Builder pattern for Mock objects.
Code
public function setMockClassName($name) {
$this->mockClassName = $name;
return $this;
}