예제 #1
0
 public function testHasInstallInfos()
 {
     $this->assertFalse($this->packageFile->hasInstallInfos());
     $this->packageFile->addInstallInfo(new InstallInfo('vendor/package', '/path/to/package'));
     $this->assertTrue($this->packageFile->hasInstallInfos());
 }