public function PublisherTrackerTest::testGetRecord in Acquia Content Hub 8.2
Test case to fetch the tracking record for a given uuid.
@covers ::getRecord
Throws
\Drupal\Core\Entity\EntityStorageException
File
- tests/
src/ Kernel/ PublisherTrackerTest.php, line 128
Class
- PublisherTrackerTest
- Tests publisher tracker methods.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
public function testGetRecord() {
$record = $this->publisherTracker
->getRecord($this->node
->uuid());
$this
->assertIsObject($record);
}