public function testGetConfigWithoutFile() { $project = new Project(); $project->setDirectoryPath('no-such-dir'); $composer = new Composer(new Executor(), new BalloonFactory(new DummyFileReaderFactory())); $this->assertSame([], $composer->getConfig($project->getDirectoryPath()), 'config path: ' . $composer->getConfigPath($project->getDirectoryPath())); }