public function OpenIdConnectClaimsTest::testDefaultClaimsCount in OpenID Connect / OAuth client 2.x
Same name and namespace in other branches
- 8 tests/src/Unit/OpenIdConnectClaimsTest.php \Drupal\Tests\openid_connect\Unit\OpenIdConnectClaimsTest::testDefaultClaimsCount()
Test the default count of the default claims.
File
- tests/
src/ Unit/ OpenIdConnectClaimsTest.php, line 124
Class
- OpenIdConnectClaimsTest
- Test the OpenIdConnectClaims class.
Namespace
Drupal\Tests\openid_connect\UnitCode
public function testDefaultClaimsCount() : void {
$claims = $this->openIdConnectClaims
->getClaims();
$this
->assertCount(self::DEFAULT_CLAIMS_COUNT, $claims);
}