public function test_getServiceMissingOrderId() { $data = array(); $this->setExpectedException('\\Box_Exception', 'Order id is required'); $this->api->_getService($data); }