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\TypeCode
public function testGetEntityTypeId() {
$id = $this
->randomMachineName();
$this
->assertSame($this->sut, $this->sut
->setEntityTypeId($id));
$this
->assertSame($id, $this->sut
->getEntityTypeId());
}