Пример #1
0
 /**
  * setUp
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     ConnectionManager::loadDatasource(array('plugin' => 'Stripe', 'classname' => 'StripeSource'));
     $this->Source = new StripeSource(array('api_key' => '123456'));
     $this->Source->Http = $this->getMock('HttpSocket', array('request'));
     $this->Model = new TestStripeModel();
 }