public function testSaleAndVoidWithClientTxnId() { $clientTransactionId = 10244203; $response = $this->checkService->sale(TestCheck::approve(), 5.0, $clientTransactionId); $this->assertNotNull($response, 'Response is null'); $this->assertEquals('0', $response->responseCode); $this->assertEquals('Transaction Approved', $response->responseText); $voidResponse = $this->checkService->void(null, $clientTransactionId); $this->assertNotNull($voidResponse); $this->assertEquals('0', $voidResponse->responseCode); }