13 $provider = $this->getMockForAbstractClass( AbstractAuthenticationProvider::class );
14 $providerPriv = TestingAccessWrapper::newFromObject( $provider );
16 $obj = $this->getMockForAbstractClass( \Psr\Log\LoggerInterface::class );
17 $provider->setLogger( $obj );
18 $this->assertSame( $obj, $providerPriv->logger,
'setLogger' );
21 $provider->setManager( $obj );
22 $this->assertSame( $obj, $providerPriv->manager,
'setManager' );
24 $obj = $this->getMockForAbstractClass( \Config::class );
25 $provider->setConfig( $obj );
26 $this->assertSame( $obj, $providerPriv->config,
'setConfig' );
28 $this->
assertType(
'string', $provider->getUniqueId(),
'getUniqueId' );