public function PaymentReferenceBaseTest::testRefresh in Payment 8.2
@covers ::refresh
File
- tests/
src/ Unit/ Element/ PaymentReferenceBaseTest.php, line 480
Class
- PaymentReferenceBaseTest
- @coversDefaultClass \Drupal\payment\Element\PaymentReferenceBase
Namespace
Drupal\Tests\payment\Unit\ElementCode
public function testRefresh() {
$form = [];
$form_state = $this
->createMock(FormStateInterface::class);
$form_state
->expects($this
->once())
->method('setRebuild')
->with(TRUE);
$this->sut
->refresh($form, $form_state);
}