inflectPackageVars() публичный Метод

Format package name to CamelCase
public inflectPackageVars ( $vars )
 /**
  * testInflectPackageVars
  *
  * @return void
  */
 public function testInflectPackageVars()
 {
     $installer = new CakePHPInstaller($this->package, $this->composer);
     $result = $installer->inflectPackageVars(array('name' => 'CamelCased'));
     $this->assertEquals($result, array('name' => 'CamelCased'));
     $installer = new CakePHPInstaller($this->package, $this->composer);
     $result = $installer->inflectPackageVars(array('name' => 'with-dash'));
     $this->assertEquals($result, array('name' => 'WithDash'));
     $installer = new CakePHPInstaller($this->package, $this->composer);
     $result = $installer->inflectPackageVars(array('name' => 'with_underscore'));
     $this->assertEquals($result, array('name' => 'WithUnderscore'));
 }