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); }
protected function setUp() { parent::setUp(); $this->pricing = new PricingPhone($this->getPricing()); }
protected function tearDown() { parent::tearDown(); $this->guzzle = null; $this->mock = null; }
protected function setUp() { parent::setUp(); $this->numbers = new NumberCollection($this->getNumbers()); }
protected function setUp() { parent::setUp(); $this->service = new VoiceMock(); $this->service->setClient($this->guzzle()); }