You are here

public function ChangesFactoryTest::testChangesFactory in Replication 8

File

tests/src/Kernel/ChangesFactoryTest.php, line 43

Class

ChangesFactoryTest
Tests the replication_log serialization format.

Namespace

Drupal\Tests\replication\Kernel

Code

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