public function testSetGet() { $client = new OpenId(); $trustRoot = 'http://trust.root'; $client->setTrustRoot($trustRoot); $this->assertEquals($trustRoot, $client->getTrustRoot(), 'Unable to setup trust root!'); $returnUrl = 'http://return.url'; $client->setReturnUrl($returnUrl); $this->assertEquals($returnUrl, $client->getReturnUrl(), 'Unable to setup return URL!'); }