public function testClearInstallInfos()
 {
     $installInfo1 = new InstallInfo('vendor/package1', '/path/to/package1');
     $installInfo2 = new InstallInfo('vendor/package2', '/path/to/package2');
     $this->packageFile->addInstallInfo($installInfo1);
     $this->packageFile->addInstallInfo($installInfo2);
     $this->packageFile->clearInstallInfos();
     $this->assertSame(array(), $this->packageFile->getInstallInfos());
 }