| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 14 | trait SetsUpMockServerBeforeClassTrait |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var MockServer |
||
| 19 | */ |
||
| 20 | protected static $mockServer; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @throws \Exception |
||
| 24 | */ |
||
| 25 | public static function setupBeforeClass() |
||
| 26 | { |
||
| 27 | static::setupMockServer(); |
||
| 28 | } |
||
| 29 | |||
| 30 | public static function tearDownAfterClass() |
||
| 31 | { |
||
| 32 | static::tearDownMockServer(); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @throws \Exception |
||
| 37 | */ |
||
| 38 | protected static function setupMockServer() |
||
| 42 | } |
||
| 43 | |||
| 44 | protected static function tearDownMockServer() |
||
| 47 | } |
||
| 48 | } |
||
| 49 |