public function PaymentStatusTest::testGetParentId in Payment 8.2
@covers ::getParentId @covers ::setParentId
File
- tests/
src/ Unit/ Entity/ PaymentStatusTest.php, line 99
Class
- PaymentStatusTest
- @coversDefaultClass \Drupal\payment\Entity\PaymentStatus
Namespace
Drupal\Tests\payment\Unit\EntityCode
public function testGetParentId() {
$id = strtolower($this
->randomMachineName());
$this
->assertSame($this->sut, $this->sut
->setParentId($id));
$this
->assertSame($id, $this->sut
->getParentId());
}