Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/** * @covers ::getErrors */ public function testGetErrors() { $errors = ['foo' => 'bar']; $this->decoratedFormState->getErrors()->willReturn($errors)->shouldBeCalled(); $this->assertSame($errors, $this->formStateDecoratorBase->getErrors()); }