class FlushableTestState implements TestState (View source)

Clears flushable / resettable objects

Methods

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

Details

setUp(SapphireTest $test)

Called on setup

Parameters

SapphireTest $test

tearDown(SapphireTest $test)

Called on tear down

Parameters

SapphireTest $test

setUpOnce(string $class)

Called once on setup

Parameters

string $class

Class being setup

tearDownOnce(string $class)

Called once on tear down

Parameters

string $class

Class being torn down