You are here

protected function ConfigReverterTest::setUp in Configuration Update Manager 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/ConfigReverterTest.php, line 28

Class

ConfigReverterTest
Tests the \Drupal\config_update\ConfigReverter class.

Namespace

Drupal\Tests\config_update\Unit

Code

protected function setUp() {
  $this->configReverter = new ConfigReverter($this
    ->getEntityManagerMock(), $this
    ->getConfigStorageMock('active'), $this
    ->getConfigStorageMock('extension'), $this
    ->getConfigStorageMock('optional'), $this
    ->getConfigFactoryMock(), $this
    ->getEventDispatcherMock());
}