public static function debugDataProvider() { return [ 'debug on' =>
[true
],
'debug off' =>
[false
],
];
} public function testEnvironment() { $this->appVariable->
setEnvironment('dev'
);
$this->
assertEquals('dev',
$this->appVariable->
getEnvironment());
} /**
* @runInSeparateProcess
*/
public function testGetSession() { $request =
$this->
createMock(Request::
class);
$request->
method('hasSession'
)->
willReturn(true
);