Ejemplo n.º 1
0
 public function testGetPackages()
 {
     Juriya::reset();
     $launcher = new Juriya();
     $launcher->registerPearPackage('PHP', TRUE);
     $packages = $launcher->getPackages();
     $this->assertNotEmpty($packages);
 }
Ejemplo n.º 2
0
<?php

require_once realpath(__DIR__ . '/../Juriya.php');
use Juriya\Juriya;
Juriya::registerAutoloader();
Juriya::reset();
$launcher = new Juriya();
$launcher->setEnvironment('test');