public testInstallPath ( $type, $path, $name, $version = '1.0.0' ) |
public function testInstallPath($type, $path, $name, $version = '1.0.0')
{
$installer = new Installer($this->io, $this->composer);
$package = new Package($name, $version, $version);
$package->setType($type);
$result = $installer->getInstallPath($package);
$this->assertEquals($path, $result);
}