function test_purchase_tracking_event() { $rvm = new ReevooMarkApi('REV', false, 'http://my_url'); $this->assertPattern('/retailer\\.track_purchase\\(\\"111,222,3333\\"\\.split\\(\\/\\[ ,\\]\\+\\/\\), \\"250\\"\\);/', $rvm->purchaseTrackingEvent(array("trkref" => "REV", "skus" => "111,222,3333", "value" => "250"))); }
function purchaseTrackingEvent($options = array()) { echo parent::purchaseTrackingEvent($options); }