You are here

public function PublisherTrackerTest::testGet in Acquia Content Hub 8.2

Test case to fetch the tracking entity for a given uuid.

@covers ::get

Throws

\Drupal\Core\Entity\EntityStorageException

File

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

Class

PublisherTrackerTest
Tests publisher tracker methods.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function testGet() {
  $record = $this->publisherTracker
    ->get($this->node
    ->uuid());
  $this
    ->assertIsObject($record);
}