public function testRevokeAccessForUser()
 {
     $this->initializeManager();
     $mock = $this->getMockForAbstractClass(PrimaryAuthenticationProvider::class);
     $mock->expects($this->any())->method('getUniqueId')->will($this->returnValue('primary'));
     $mock->expects($this->once())->method('providerRevokeAccessForUser')->with($this->equalTo('UTSysop'));
     $this->primaryauthMocks = [$mock];
     $this->initializeManager(true);
     $this->logger->setCollect(true);
     $this->manager->revokeAccessForUser('UTSysop');
     $this->assertSame([[LogLevel::INFO, 'Revoking access for {user}']], $this->logger->getBuffer());
 }