You are here

public function PublisherTrackerTest::testIsTracked in Acquia Content Hub 8.2

Test case to validate whether entity is tracked.

@covers ::isTracked

Throws

\Drupal\Core\Entity\EntityStorageException

File

tests/src/Kernel/PublisherTrackerTest.php, line 85

Class

PublisherTrackerTest
Tests publisher tracker methods.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function testIsTracked() {
  $is_tracked = $this->publisherTracker
    ->isTracked($this->node
    ->uuid());
  $this
    ->assertTrue($is_tracked);
}