Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Trusted\TrustedComputerManagerTest::addTrustedComputer_notSupportsTrustedComputerInterface_notInvoked PHP Method

addTrustedComputer_notSupportsTrustedComputerInterface_notInvoked() public method

    public function addTrustedComputer_notSupportsTrustedComputerInterface_notInvoked()
    {
        $user = $this->createMock('Symfony\\Component\\Security\\Core\\User\\UserInterface');
        $user->expects($this->never())->method($this->anything());
        $this->trustedComputerManager->addTrustedComputer($user, 'trustedToken', new \DateTime('2014-01-01'));
    }