expectException(\Exception::class); new App('no_file'); $this->fail('Exception was not thrown'); } public function testGoodConfig(): void { $app = new App('config.example.yml'); $this->assertEquals('output.log', $app->getConfig('log')); $this->assertInstanceOf(LoggerInterface::class, $app->getLogger()); } }