setId('foobar'); $client->setSecret('barfoo'); $client->setName('Test Client'); $client->setRedirectUri('http://foo/bar'); $this->assertEquals('foobar', $client->getId()); $this->assertEquals('barfoo', $client->getSecret()); $this->assertEquals('Test Client', $client->getName()); $this->assertEquals('http://foo/bar', $client->getRedirectUri()); } }