public function PaymentReferenceTest::testGetFieldName in Payment 8.2
@covers ::setFieldName @covers ::getFieldName
File
- modules/
payment_reference/ tests/ src/ Unit/ Plugin/ Payment/ Type/ PaymentReferenceTest.php, line 142
Class
- PaymentReferenceTest
- @coversDefaultClass \Drupal\payment_reference\Plugin\Payment\Type\PaymentReference
Namespace
Drupal\Tests\payment_reference\Unit\Plugin\Payment\TypeCode
public function testGetFieldName() {
$name = $this
->randomMachineName();
$this
->assertSame($this->sut, $this->sut
->setFieldName($name));
$this
->assertSame($name, $this->sut
->getFieldName());
}