public function testGetPhpbrewHomeWhenHOMEIsDefined()
{
$env = array('HOME' => getenv('PHPBREW_ROOT'), 'PHPBREW_HOME' => null);
$this->withEnv($env, function ($self) {
$self->assertStringEndsWith('.phpbrew/.phpbrew', PhpBrew\Config::getHome());
});
}