assertEquals('foo', $client->getKey()); $this->assertEquals('bar', $client->getSecret()); } public function testCallbackUrlIsSet() { $client = new Client('foo', 'bar', 'http://example.com/foobar'); $this->assertEquals('http://example.com/foobar', $client->getCallbackUrl()); } }