You are here

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

@covers ::getCaptureStatusId

File

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

Class

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

Namespace

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

Code

public function testGetCaptureStatusId() {
  $this
    ->assertSame($this->pluginDefinition['capture_status_id'], $this->sut
    ->getCaptureStatusId());
}