public function EntityTest::testResolveEntityLoadByUuid in GraphQL 8.4
@covers \Drupal\graphql\Plugin\GraphQL\DataProducer\Entity\EntityLoadByUuid::resolve
File
- tests/
src/ Kernel/ DataProducer/ EntityTest.php, line 317  
Class
- EntityTest
 - Data producers Entity test class.
 
Namespace
Drupal\Tests\graphql\Kernel\DataProducerCode
public function testResolveEntityLoadByUuid() : void {
  $result = $this
    ->executeDataProducer('entity_load_by_uuid', [
    'type' => $this->node
      ->getEntityTypeId(),
    'uuid' => $this->node
      ->uuid(),
  ]);
  $this
    ->assertEquals($this->node
    ->id(), $result
    ->id());
}