/** * @covers ::clearErrors */ public function testClearErrors() { $this->decoratedFormState->clearErrors()->shouldBeCalled(); $this->formStateDecoratorBase->clearErrors(); }