1 code examples of PHP Cake\Composer\Installer\PluginInstaller extracted from open source projects
public function testPostAutoloadDump()
{
$rootPackage = new RootPackage('cakephp/app', '1.0', '1.0');
$rootPackage->setType('project');
$rootPackage->setScripts([
'post-autoload-dump' => 'Cake\Composer\Installer\PluginInstaller::postAutoloadDump',
]);
$this->composer->setPackage($rootPackage);
$this->io->expects($this->once())
->method('write');
$event = new Event('post-autoload-dump', $this->composer, $this->io);
PluginInstaller::postAutoloadDump($event);
}