You are here

public function PaymentReferenceTest::testGetEntityTypeId in Payment 8.2

@covers ::setEntityTypeId @covers ::getEntityTypeId

File

modules/payment_reference/tests/src/Unit/Plugin/Payment/Type/PaymentReferenceTest.php, line 122

Class

PaymentReferenceTest
@coversDefaultClass \Drupal\payment_reference\Plugin\Payment\Type\PaymentReference

Namespace

Drupal\Tests\payment_reference\Unit\Plugin\Payment\Type

Code

public function testGetEntityTypeId() {
  $id = $this
    ->randomMachineName();
  $this
    ->assertSame($this->sut, $this->sut
    ->setEntityTypeId($id));
  $this
    ->assertSame($id, $this->sut
    ->getEntityTypeId());
}