public function testGetCurrentPhpizeBin() { $env = array('PHPBREW_PHP' => '5.5.1'); $this->withEnv($env, function ($self) { $self->assertStringEndsWith('.phpbrew/php/5.5.1/bin/phpize', PhpBrew\Config::getCurrentPhpizeBin()); }); }