private function getTestConfig()
 {
     $config = new Config('test_api_key', 'store1');
     $config->setEnvironment(Config::ENV_TESTING);
     return $config;
 }
 private function getStagingConfig()
 {
     $config = new Config('test_api_key', 'store2');
     $config->setEnvironment(Config::ENV_STAGING);
     return $config;
 }
 /**
  * @depends testConstructor
  * @param Config $config
  */
 public function testSetEnvironment(Config $config)
 {
     $environment = Config::ENV_STAGING;
     $config->setEnvironment($environment);
     $this->assertEquals($environment, $config->getEnvironment());
 }
 protected function getConfig()
 {
     $config = new Config('yesguy', 'store1');
     $config->setEnvironment(Config::ENV_TESTING);
     return $config;
 }