You are here

public function FormStateDecoratorBaseTest::testGetCleanValueKeys in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\FormStateDecoratorBaseTest::testGetCleanValueKeys()

@covers ::getCleanValueKeys

File

core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php, line 1514

Class

FormStateDecoratorBaseTest
@coversDefaultClass \Drupal\Core\Form\FormStateDecoratorBase

Namespace

Drupal\Tests\Core\Form

Code

public function testGetCleanValueKeys() {
  $keys = [
    'BAR',
  ];
  $this->decoratedFormState
    ->getCleanValueKeys()
    ->willReturn($keys)
    ->shouldBeCalled();
  $this
    ->assertSame($keys, $this->formStateDecoratorBase
    ->getCleanValueKeys());
}