public function PaymentTypeBaseTest::testGetConfiguration in Payment 8.2
@covers ::setConfiguration @covers ::getConfiguration
File
- tests/
src/ Unit/ Plugin/ Payment/ Type/ PaymentTypeBaseTest.php, line 85
Class
- PaymentTypeBaseTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\Type\PaymentTypeBase
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\TypeCode
public function testGetConfiguration() {
$configuration = [
'foo' => $this
->randomMachineName(),
];
$this
->assertNull($this->sut
->setConfiguration($configuration));
$this
->assertSame($configuration, $this->sut
->getConfiguration());
}