public function BasicTest::testBuildConfigurationForm 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::testBuildConfigurationForm()
- 8.2 tests/src/Unit/Plugin/Payment/LineItem/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\LineItem\BasicTest::testBuildConfigurationForm()
@covers ::buildConfigurationForm
File
- tests/
src/ Unit/ Plugin/ Payment/ LineItem/ BasicTest.php, line 123
Class
- BasicTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\LineItem\Basic
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\LineItemCode
public function testBuildConfigurationForm() {
$form = [];
$form_state = $this
->createMock(FormStateInterface::class);
$form_elements = $this->sut
->buildConfigurationForm($form, $form_state);
$this
->assertIsArray($form_elements);
}