<?php
+
+/**
+ * Class AuthorizeNet
+ */
class AuthorizeNet extends PHPUnit_Framework_Testcase {
- /*
- * Helper function to create
- * a payment processor of type Authorize.net
- *
- * @return $paymentProcessor id of created payment processor
- */
+ /**
+ * Helper function to create
+ * a payment processor of type Authorize.net
+ * @return CRM_Financial_DAO_PaymentProcessor
+ */
function create() {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
return $paymentProcessor;
}
- /*
- * Helper function to delete a PayPal Pro
- * payment processor
- * @param int $id - id of the PayPal Pro payment processor
- * to be deleted
- * @return boolean true if payment processor deleted, false otherwise
- *
- */
+ /**
+ * Helper function to delete a PayPal Pro
+ * payment processor
+ * @param int $id - id of the PayPal Pro payment processor
+ * to be deleted
+ * @return boolean true if payment processor deleted, false otherwise
+ *
+ */
function delete($id) {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
$paymentProcessor->id = $id;