You are here

protected function StorageComparerTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php \Drupal\Tests\Core\Config\StorageComparerTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php, line 49
Contains \Drupal\Tests\Core\Config\StorageComparerTest.

Class

StorageComparerTest
@coversDefaultClass \Drupal\Core\Config\StorageComparer @group Config

Namespace

Drupal\Tests\Core\Config

Code

protected function setUp() {
  $this->sourceStorage = $this
    ->getMock('Drupal\\Core\\Config\\StorageInterface');
  $this->targetStorage = $this
    ->getMock('Drupal\\Core\\Config\\StorageInterface');
  $this->configManager = $this
    ->getMock('Drupal\\Core\\Config\\ConfigManagerInterface');
  $this->storageComparer = new StorageComparer($this->sourceStorage, $this->targetStorage, $this->configManager);
}