public function testSetGetEnv()
{
$rest = Rest::initRest('ExampleApi', 'http://www.example.com/services/tests/mocks/mock-api-class/test');
$this->assertSame(Rest::ENV_PRODUCTION, $rest->getEnvironment());
$rest->setEnvironment(Rest::ENV_DEVELOPMENT);
$this->assertSame(Rest::ENV_DEVELOPMENT, $rest->getEnvironment());
}