| 1 | <?php |
||
| 9 | class SapphireTestState implements TestState |
||
| 10 | { |
||
| 11 | use Injectable; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var TestState[] |
||
| 15 | */ |
||
| 16 | protected $states = []; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return TestState[] |
||
| 20 | */ |
||
| 21 | public function getStates() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param TestState[] $states |
||
| 28 | * @return $this |
||
| 29 | */ |
||
| 30 | public function setStates(array $states) |
||
| 35 | |||
| 36 | public function setUp(SapphireTest $test) |
||
| 42 | |||
| 43 | public function tearDown(SapphireTest $test) |
||
| 51 | |||
| 52 | public function setUpOnce($class) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Called once on tear down |
||
| 61 | * |
||
| 62 | * @param string $class Class being torn down |
||
| 63 | */ |
||
| 64 | public function tearDownOnce($class) |
||
| 72 | } |
||
| 73 |