protected function setUp(): void
{ $this->appVariable =
new AppVariable();
} /**
* @dataProvider debugDataProvider
*/
public function testDebug($debugFlag) { $this->appVariable->
setDebug($debugFlag);
$this->
assertEquals($debugFlag,
$this->appVariable->
getDebug());
} public static function debugDataProvider() { return [ 'debug on' =>
[true
],
'debug off' =>
[false
],
];
}