You are here

public function BasicTest::testGetRefund in Payment 8.2

Same name in this branch
  1. 8.2 tests/src/Unit/Plugin/Payment/MethodConfiguration/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\MethodConfiguration\BasicTest::testGetRefund()
  2. 8.2 tests/src/Unit/Plugin/Payment/Method/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\Method\BasicTest::testGetRefund()

@covers ::getRefund

File

tests/src/Unit/Plugin/Payment/Method/BasicTest.php, line 121

Class

BasicTest
@coversDefaultClass \Drupal\payment\Plugin\Payment\Method\Basic

Namespace

Drupal\Tests\payment\Unit\Plugin\Payment\Method

Code

public function testGetRefund() {
  $this
    ->assertSame($this->pluginDefinition['refund'], $this->sut
    ->getRefund());
}