コード例 #1
0
ファイル: ServiceTest.php プロジェクト: kyandersen73/sms2
 protected function setUp()
 {
     parent::setUp();
     $this->client = new Guzzle\Client();
     $this->mock = new Guzzle\Subscriber\Mock();
     $this->client->getEmitter()->attach($this->mock);
     $this->service = new ServiceMock();
     $this->service->setClient($this->client);
 }
コード例 #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->pricing = new PricingPhone($this->getPricing());
 }
コード例 #3
0
ファイル: AccountTestCase.php プロジェクト: kyandersen73/sms2
 protected function tearDown()
 {
     parent::tearDown();
     $this->guzzle = null;
     $this->mock = null;
 }
コード例 #4
0
 protected function setUp()
 {
     parent::setUp();
     $this->numbers = new NumberCollection($this->getNumbers());
 }
コード例 #5
0
ファイル: VoiceTest.php プロジェクト: kyandersen73/sms2
 protected function setUp()
 {
     parent::setUp();
     $this->service = new VoiceMock();
     $this->service->setClient($this->guzzle());
 }