/** * @expectedException \Exception */ public function testUnsupportedAsyncRequest() { $this->resource->setHttpClient(Mockery::mock('Http\\Client\\HttpClient')); $this->resource->asyncRequest('POST', 'transmissions', $this->postTransmissionPayload); }