You are here

protected function DerivativeDiscoveryDecoratorTest::setUp in Drupal 8

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php, line 29

Class

DerivativeDiscoveryDecoratorTest
Unit tests for the derivative discovery decorator.

Namespace

Drupal\Tests\Core\Plugin\Discovery

Code

protected function setUp() {
  $this->discoveryMain = $discovery_main = $this
    ->createMock('Drupal\\Component\\Plugin\\Discovery\\DiscoveryInterface');
}