$this->
assertSame($this->formStateDecoratorBase,
$this->formStateDecoratorBase->
setTemporary($temporary));
} /**
* @covers ::getTemporary
*/
public function testGetTemporary() { $temporary =
[ 'FOO' => 'BAR',
];
$this->decoratedFormState->
getTemporary() ->
willReturn($temporary) ->
shouldBeCalled();
$this->
assertSame($temporary,
$this->formStateDecoratorBase->
getTemporary());
} /**
* @covers ::setTemporaryValue
*
* @dataProvider providerSetTemporaryValue
*
* @param string $key
* Any valid value for
* \Drupal\Core\Form\FormStateInterface::setTemporaryValue()'s $key
* argument.
* @param mixed $value
* Any valid value for
* \Drupal\Core\Form\FormStateInterface::setTemporaryValue()'s $value
* argument.
*/