protected function UnitTestBase::setUp in Select (or other) 8
Same name and namespace in other branches
- 4.x tests/src/Unit/UnitTestBase.php \Drupal\Tests\select_or_other\Unit\UnitTestBase::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ UnitTestBase.php, line 31
Class
Namespace
Drupal\Tests\select_or_other\UnitCode
protected function setUp() {
parent::setUp();
$this
->prepareContainer();
$this
->addMockServicesToContainer();
$this->mockBuilder = $this
->getMockBuilder($this
->getTestedClassName());
}