GlobalsTestState
class GlobalsTestState implements TestState (View source)
Cleans up and reset global env vars between tests
Properties
protected | array | $staticVars | Var backed up for the class |
|
protected | array | $vars | Vars backed up for the test |
Methods
Details
setUp(SapphireTest $test)
Called on setup
tearDown(SapphireTest $test)
Called on tear down
setUpOnce(string $class)
Called once on setup
tearDownOnce(string $class)
Called once on tear down