You are here

protected function EntityRenderHandlerTest::assertCdfNotHasRenderedEntity in Acquia Lift Connector 8.4

Asserts that cdf list doesn't have a rendered entity.

Parameters

\Acquia\ContentHubClient\CDF\CDFObject[] $cdfs:

1 call to EntityRenderHandlerTest::assertCdfNotHasRenderedEntity()
EntityRenderHandlerTest::testOnCreateCdfConfigEntity in modules/acquia_lift_publisher/tests/src/Kernel/EventSubscriber/Cdf/EntityRenderHandlerTest.php
@covers ::onCreateCdf

File

modules/acquia_lift_publisher/tests/src/Kernel/EventSubscriber/Cdf/EntityRenderHandlerTest.php, line 297

Class

EntityRenderHandlerTest
Class EntityRenderHandlerTest.

Namespace

Drupal\Tests\acquia_lift_publisher\Kernel\EventSubscriber\Cdf

Code

protected function assertCdfNotHasRenderedEntity(array $cdfs) : void {
  $entities = $this
    ->getRenderedEntities($cdfs);
  $this
    ->assertEqual(count($entities), 0, 'Cdf list does not contain rendered entity.');
}