public function DatabaseQueueTest::testGetAllowedPaymentStatusIds in Payment 8.2
@covers ::getAllowedPaymentStatusIds @covers ::setAllowedPaymentStatusIds
File
- tests/
src/ Unit/ DatabaseQueueTest.php, line 85
Class
- DatabaseQueueTest
- @coversDefaultClass \Drupal\payment\DatabaseQueue
Namespace
Drupal\Tests\payment\UnitCode
public function testGetAllowedPaymentStatusIds() {
$allowed_payment_status_ids = array(
$this
->randomMachineName(),
$this
->randomMachineName(),
);
$this
->assertSame($this->sut, $this->sut
->setAllowedPaymentStatusIds($allowed_payment_status_ids));
$this
->assertSame($allowed_payment_status_ids, $this->sut
->getAllowedPaymentStatusIds());
}