You are here

protected function VisualDiffThemeNegotiatorTest::setUp in Diff 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/VisualDiffThemeNegotiatorTest.php, line 36

Class

VisualDiffThemeNegotiatorTest
Tests theme negotiator.

Namespace

Drupal\Tests\diff\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->configFactory = $this
    ->prophesize(ConfigFactoryInterface::class);
  $this->themeNegotiator = new VisualDiffThemeNegotiator($this->configFactory
    ->reveal());
}