public function testGetCurrentBuildDir() { $env = array('PHPBREW_PHP' => '5.6.3'); $this->withEnv($env, function ($self) { $self->assertStringEndsWith('.phpbrew/build/5.6.3', PhpBrew\Config::getCurrentBuildDir()); }); }