function testGetURL() { $c = new Client("bogus", "test"); $url = $c->getURL("listings"); $this->assertEquals("https://rets.io/api/v1/test/listings/", $url); }