You are here

protected function TestCase::getPackage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php \Composer\Installers\Test\TestCase::getPackage()
1 call to TestCase::getPackage()
GravInstallerTest::testInflectPackageVars in vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php

File

vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php, line 42

Class

TestCase

Namespace

Composer\Installers\Test

Code

protected function getPackage($name, $version) {
  $normVersion = self::getVersionParser()
    ->normalize($version);
  return new Package($name, $normVersion, $version);
}