function test_delivery_rating_badge() { $rvm = new ReevooMarkApi('REV', false, 'http://my_url'); $this->assertEqual($rvm->deliveryRatingBadge(array("trkref" => "REV", "variant" => "stars")), '<a class="reevoo_reputation delivery stars_variant" href="http://my_url/retailer/REV"></a>'); }
function deliveryRatingBadge($options = array()) { echo parent::deliveryRatingBadge($options); }