public function testGetLookupPrefix() { $env = array('PHPBREW_LOOKUP_PREFIX' => getenv('PHPBREW_ROOT')); $this->withEnv($env, function ($self) { $self->assertStringEndsWith('.phpbrew', PhpBrew\Config::getLookupPrefix()); }); }