You are here

public function BasicTest::testGetCapture 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::testGetCapture()
  2. 8.2 tests/src/Unit/Plugin/Payment/Method/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\Method\BasicTest::testGetCapture()

@covers ::getCapture

File

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

Class

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

Namespace

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

Code

public function testGetCapture() {
  $this
    ->assertSame($this->pluginDefinition['capture'], $this->sut
    ->getCapture());
}