| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class IntegrationTest extends TestCase |
||
| 15 | { |
||
| 16 | public function setUp(): void |
||
| 17 | { |
||
| 18 | Gacela::bootstrap(__DIR__); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function test_missing_factory_module(): void |
||
| 22 | { |
||
| 23 | $this->expectException(FactoryNotFoundException::class); |
||
| 24 | |||
| 25 | $facade = new MissingFactoryFile\Facade(); |
||
| 26 | $facade->error(); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function test_missing_config_module(): void |
||
| 30 | { |
||
| 31 | $this->expectException(ConfigNotFoundException::class); |
||
| 32 | |||
| 33 | $facade = new MissingConfigFile\Facade(); |
||
| 34 | $facade->error(); |
||
| 35 | } |
||
| 36 | |||
| 37 | public function test_missing_dependency_provider_module(): void |
||
| 38 | { |
||
| 39 | $this->expectException(DependencyProviderNotFoundException::class); |
||
| 40 | |||
| 41 | $facade = new MissingDependencyProviderFile\Facade(); |
||
| 42 | $facade->error(); |
||
| 43 | } |
||
| 44 | |||
| 45 | public function test_missing_container_service_key_module(): void |
||
| 51 | } |
||
| 52 | } |
||
| 53 |