You are here

public function RevisionDiffFactoryTest::testChangesFactory in Replication 8.2

File

tests/src/Unit/RevisionDiffFactoryTest.php, line 41

Class

RevisionDiffFactoryTest
Tests the revision diff factory.

Namespace

Drupal\Tests\replication\Unit

Code

public function testChangesFactory() {
  $changes = \Drupal::service('replication.revisiondiff_factory')
    ->get($this->workspace);
  $this
    ->assertTrue($changes instanceof RevisionDiffInterface);
}