->
shouldBeCalled();
$this->
assertSame($this->formStateDecoratorBase,
$this->formStateDecoratorBase->
setValidationEnforced($must_validate));
} /**
* @covers ::isValidationEnforced
*
* @dataProvider providerSingleBooleanArgument
*/
public function testIsValidationEnforced($must_validate) { $this->decoratedFormState->
isValidationEnforced() ->
willReturn($must_validate) ->
shouldBeCalled();
$this->
assertSame($must_validate,
$this->formStateDecoratorBase->
isValidationEnforced());
} /**
* @covers ::disableRedirect
*
* @dataProvider providerSingleBooleanArgument
*/