public function testGetLive() { $params = array('other' => 'pickles'); $url = '/subscriptions?other=pickles&state=live'; $this->client->addResponse('GET', $url, 'subscriptions/index-200.xml'); $subscriptions = Recurly_SubscriptionList::getLive($params, $this->client); $this->assertInstanceOf('Recurly_SubscriptionList', $subscriptions); $this->assertEquals($url, $subscriptions->getHref()); }