/**
* @outputBuffering enabled
* @depends testInstallCommand
*/
public function testInstallAsCommand()
{
$processorNumber = Machine::getInstance()->detectProcessorNumber();
$jobs = is_numeric($processorNumber) ? "--jobs {$processorNumber}" : "";
$this->assertTrue($this->runCommand("phpbrew --quiet install {$jobs} {$this->primaryVersion} as myphp +soap"));
$this->assertListContains("myphp");
}