/** * @expectedException \Omnipay\Common\Exception\InvalidRequestException * @expectedExceptionMessage One of parameters */ public function testIncompleteRequestException() { $request = new InvoiceCheckOrderStatusRequest($this->getHttpClient(), $this->getHttpRequest()); $request->setTestMode(true); $request->setMerchantId($this->merchantId); $request->setSharedSecret($this->sharedSecret); $request->setLocale('de_at'); $data = $request->getData(); }