/** * @test * /// <summary>JCB charge cert test.</summary> */ public function testJcbShouldChargeOk() { $chargeSvc = new HpsCreditService(TestServicesConfig::validMultiUseConfig()); $response = $chargeSvc->charge(17.05, "usd", TestCreditCard::validJBCCreditCard(), TestCardHolder::certCardHolderLongZip()); if ($response == null) { $this->fail("Response is null."); } $this->assertEquals($response->responseCode, "00"); }