public function testHasAllowedGrantType() { $client = new Client(['id' => 'pablodip', 'allowedGrantTypes' => ['foo']]); $this->assertTrue($client->hasAllowedGrantType('foo')); $this->assertFalse($client->hasAllowedGrantType('bar')); }