You are here

public function ChangesFactoryTest::testChangesFactory in Replication 8.2

File

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

Class

ChangesFactoryTest
Tests the replication_log serialization format.

Namespace

Drupal\Tests\replication\Unit

Code

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