You are here

public function BulkDocsFactoryTest::testBulkDocsFactory in Replication 8.2

File

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

Class

BulkDocsFactoryTest
Tests the AllDocsFactory

Namespace

Drupal\Tests\replication\Unit

Code

public function testBulkDocsFactory() {
  $bulk_docs = \Drupal::service('replication.bulkdocs_factory')
    ->get($this->workspace);
  $this
    ->assertTrue($bulk_docs instanceof BulkDocsInterface);
}