public function OpenIdConnectClaimsTest::testGetClaimsAlter in OpenID Connect / OAuth client 8
Same name and namespace in other branches
- 2.x tests/src/Unit/OpenIdConnectClaimsTest.php \Drupal\Tests\openid_connect\Unit\OpenIdConnectClaimsTest::testGetClaimsAlter()
Test the getClaims method and ensure the alter method is invoked.
File
- tests/
src/ Unit/ OpenIdConnectClaimsTest.php, line 86
Class
- OpenIdConnectClaimsTest
- Test the OpenIdConnectClaims class.
Namespace
Drupal\Tests\openid_connect\UnitCode
public function testGetClaimsAlter() : void {
$this->moduleHandler
->expects($this
->atLeast(1))
->method('alter')
->with('openid_connect_claims');
$this->openIdConnectClaims
->getClaims();
}