public function BasicTest::testGetCapture in Payment 8.2
Same name in this branch
- 8.2 tests/src/Unit/Plugin/Payment/MethodConfiguration/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\MethodConfiguration\BasicTest::testGetCapture()
- 8.2 tests/src/Unit/Plugin/Payment/Method/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\Method\BasicTest::testGetCapture()
@covers ::getCapture @covers ::setCapture
File
- tests/
src/ Unit/ Plugin/ Payment/ MethodConfiguration/ BasicTest.php, line 133
Class
- BasicTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\MethodConfiguration\Basic
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\MethodConfigurationCode
public function testGetCapture() {
$capture = TRUE;
$this
->assertSame($this->sut, $this->sut
->setCapture($capture));
$this
->assertSame($capture, $this->sut
->getCapture());
}