function StorageComparerTest::setUp
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ StorageComparerTest.php, line 39
Class
- StorageComparerTest
- @coversDefaultClass \Drupal\Core\Config\StorageComparer[[api-linebreak]] @group Config
Namespace
Drupal\Tests\Core\ConfigCode
protected function setUp() {
$this->sourceStorage = $this->createMock('Drupal\\Core\\Config\\StorageInterface');
$this->targetStorage = $this->createMock('Drupal\\Core\\Config\\StorageInterface');
$this->storageComparer = new StorageComparer($this->sourceStorage, $this->targetStorage);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.