public function testCheckSiteAccessNoSiteAccess()
{
$user = $this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\Security\\UserInterface');
$token = $this->getMock('Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface');
$token->expects($this->once())->method('getUser')->will($this->returnValue($user));
$this->authChecker->expects($this->never())->method('isGranted');
$this->listener->checkSiteAccessPermission(new BaseInteractiveLoginEvent(new Request(), $token));
}