KernelTestState
class KernelTestState implements TestState (View source)
Handles nesting of kernel before / after tests
Properties
protected | TestKernel[] | $kernels | Stack of kernels |
Methods
Details
protected TestKernel
kernel()
Get active Kernel instance
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
protected
nest()
Nest the current kernel
protected
unnest()
No description