/** * @expectedException \PaynetEasy\PaynetEasyApi\Exception\ValidationException * @expectedExceptionMessage Response clientId 'invalid' does not match Payment clientId */ public function testProcessErrorResponseWithInvalidId() { $response = new Response(array('type' => 'error', 'client_orderid' => 'invalid')); $this->object->processResponse($this->getPaymentTransaction(), $response); }