protected function assertRecordCreated($id, $fixture = null) { $paymentProfileReq = new OAGetPaymentProfileRequest(); $paymentProfileReq->payment_profile_id = $id; $paymentProfile = self::$client->sendRequest($paymentProfileReq); $this->assertTrue($paymentProfile->success); parent::assertRecordCreated($id, $fixture); }
public static function setUpBeforeClass() { self::$config = new OAClientConfigIni('..'); // this path is always relative to the SDK lib directory self::$client = new OAConnection(self::$config); }