public function PaymentStatusBaseTest::testGetCreated in Payment 8.2
@covers ::setCreated @covers ::getCreated
File
- tests/
src/ Unit/ Plugin/ Payment/ Status/ PaymentStatusBaseTest.php, line 170
Class
- PaymentStatusBaseTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\Status\PaymentStatusBase
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\StatusCode
public function testGetCreated() {
$created = mt_rand();
$this
->assertSame($this->sut, $this->sut
->setCreated($created));
$this
->assertSame($created, $this->sut
->getCreated());
}