You are here

public function PageTest::setUp in Hook Event Dispatcher 8

Setup.

Overrides UnitTestCase::setUp

File

tests/src/Unit/Preprocess/PageTest.php, line 26

Class

PageTest
Class PageTest.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess

Code

public function setUp() {
  $this->node = $this
    ->getMockBuilder(NodeInterface::class)
    ->disableOriginalClone()
    ->disableOriginalConstructor()
    ->getMock();
}