public function setUp()
 {
     parent::setUp();
     chdir(__DIR__ . '/..');
     // So the mock client can find its response files
     $config = AmazonTestConfiguration::instance();
     Context::initWithLogger($config);
     $this->mockClient = $config->object('payments-client', true);
     $this->mockClient->calls = array();
     $this->mockClient->returns = array();
     $this->mockClient->exceptions = array();
 }
 public function setUp()
 {
     parent::setUp();
     Context::initWithLogger(AmazonTestConfiguration::instance());
 }