| Total Complexity | 2 | 
| Total Lines | 16 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | final class ConfigFactoryTest extends TestCase  | 
            ||
| 17 | { | 
            ||
| 18 | public function testCreate(): void  | 
            ||
| 19 |     { | 
            ||
| 20 | $factory = new ConfigFactory();  | 
            ||
| 21 | |||
| 22 | $this->checkCreate($factory, 'common', Config::class);  | 
            ||
| 23 | $this->checkCreate($factory, 'constants', Constants::class);  | 
            ||
| 24 | $this->checkCreate($factory, 'params', Params::class);  | 
            ||
| 25 | $this->checkCreate($factory, '__files', System::class);  | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 28 | public function checkCreate(ConfigFactory $configFactory, string $name, string $class): void  | 
            ||
| 32 | }  | 
            ||
| 33 | }  | 
            ||
| 34 |