$this->
setRequestStack(null
);
$this->
assertEquals([],
$this->appVariable->
getFlashes());
} /**
* @runInSeparateProcess
*/
public function testGetFlashesWithNoSessionStarted() { $flashMessages =
$this->
setFlashMessages(false
);
$this->
assertEquals($flashMessages,
$this->appVariable->
getFlashes());
} /**
* @runInSeparateProcess
*/
public function testGetFlashes() { $flashMessages =
$this->
setFlashMessages();
$this->
assertEquals($flashMessages,
$this->appVariable->
getFlashes(null
));