public function BasicTest::testGetDescription in Payment 8.2
@covers ::setDescription @covers ::getDescription
File
- tests/
src/ Unit/ Plugin/ Payment/ LineItem/ BasicTest.php, line 114
Class
- BasicTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\LineItem\Basic
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\LineItemCode
public function testGetDescription() {
$description = $this
->randomMachineName();
$this
->assertSame($this->sut, $this->sut
->setDescription($description));
$this
->assertSame($description, $this->sut
->getDescription());
}