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\UnitCode
protected function setUp() {
parent::setUp();
$this->configFactory = $this
->prophesize(ConfigFactoryInterface::class);
$this->themeNegotiator = new VisualDiffThemeNegotiator($this->configFactory
->reveal());
}