<?php
use PhpBrew\Testing\CommandTestCase;

class DownloadCommandTest extends CommandTestCase
{

    public function versionDataProvider() {
        return array(
            array('5.5'),
            array('5.5.15'),
        );
    }

    /**
     * @outputBuffering enabled
     * @dataProvider versionDataProvider
     */
    public function testDownloadCommand($versionName) {
        ob_start();
        $this->assertTrue($this->runCommand("phpbrew download $versionName"));
        $this->assertTrue($this->runCommand("phpbrew download $versionName")); // redownload should just check the checksum instead of extracting it.
        $this->assertTrue($this->runCommand("phpbrew download -f $versionName"));
        ob_end_clean();
    }


}

<?php
use PhpBrew\Testing\CommandTestCase;

class DownloadCommandTest extends CommandTestCase
{

    public function versionDataProvider() {
        return array(
            array('5.5'),
            array('5.5.15'),
        );
    }

    /**
     * @outputBuffering enabled
     * @dataProvider versionDataProvider
     */
    public function testDownloadCommand($versionName) {
        ob_start();
        $this->assertTrue($this->runCommand("phpbrew -q download $versionName"));
        $this->assertTrue($this->runCommand("phpbrew -q download $versionName")); // redownload should just check the checksum instead of extracting it.
        $this->assertTrue($this->runCommand("phpbrew -q download -f $versionName"));
        ob_end_clean();
    }


}

Add --quiet option to avoid log limitation
Add --quiet option to avoid log limitation
