/** * @test */ public function testChainedPay() { $chainedPay = new Pay(); $response = $chainedPay->chainPay(); $this->assertEquals("Success", $response->responseEnvelope->ack); $this->assertNotNull($response->payKey); }