You are here

public function OctoberInstallerTest::testInflectPackageVars in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php \Composer\Installers\Test\OctoberInstallerTest::testInflectPackageVars()

@dataProvider packageNameInflectionProvider

File

vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php, line 26

Class

OctoberInstallerTest

Namespace

Composer\Installers\Test

Code

public function testInflectPackageVars($type, $name, $expected) {
  $this
    ->assertEquals($this->installer
    ->inflectPackageVars(array(
    'name' => $name,
    'type' => $type,
  )), array(
    'name' => $expected,
    'type' => $type,
  ));
}