You are here

public function PaymentReferenceItemListTest::testDefaultValuesFormValidate in Payment 8.2

@covers ::defaultValuesFormValidate

File

modules/payment_reference/tests/src/Unit/Plugin/Field/FieldType/PaymentReferenceItemListTest.php, line 46

Class

PaymentReferenceItemListTest
@coversDefaultClass \Drupal\payment_reference\Plugin\Field\FieldType\PaymentReferenceItemList

Namespace

Drupal\Tests\payment_reference\Unit\Plugin\Field\FieldType

Code

public function testDefaultValuesFormValidate() {
  $element = [];
  $form = [];
  $form_state = $this
    ->createMock(FormStateInterface::class);

  // These methods do nothing, but make sure they do not cause errors either.
  $this
    ->assertNull($this->sut
    ->defaultValuesFormValidate($element, $form, $form_state));
}