hydrate([ 'id' => 'foobar', 'secret' => 'barfoo', 'name' => 'Test Client', 'redirectUri' => '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()); } }