/**
  * {@inheritdoc}
  */
 public function clearErrors()
 {
     $this->decoratedFormState->clearErrors();
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function clearErrors()
 {
     $this->mainFormState->clearErrors();
 }
 /**
  * @covers ::clearErrors
  */
 public function testClearErrors()
 {
     $this->decoratedFormState->clearErrors()->shouldBeCalled();
     $this->formStateDecoratorBase->clearErrors();
 }