public function PaymentReferenceBaseTest::testProcessWithInvalidElementConfiguration in Payment 8.2
@covers ::process
@dataProvider providerTestProcess
File
- tests/
src/ Unit/ Element/ PaymentReferenceBaseTest.php, line 967
Class
- PaymentReferenceBaseTest
- @coversDefaultClass \Drupal\payment\Element\PaymentReferenceBase
Namespace
Drupal\Tests\payment\Unit\ElementCode
public function testProcessWithInvalidElementConfiguration(array $element) {
$this
->expectException(\InvalidArgumentException::class);
$form_state = $this
->createMock(FormStateInterface::class);
$form = [];
$this->sut
->process($element, $form_state, $form);
}