Esempio n. 1
0
 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()));
 }