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 @covers ::setRefund

File

tests/src/Unit/Plugin/Payment/MethodConfiguration/BasicTest.php, line 153

Class

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

Namespace

Drupal\Tests\payment\Unit\Plugin\Payment\MethodConfiguration

Code

public function testGetRefund() {
  $refund = TRUE;
  $this
    ->assertSame($this->sut, $this->sut
    ->setRefund($refund));
  $this
    ->assertSame($refund, $this->sut
    ->getRefund());
}