Scheb\TwoFactorBundle\Tests\Security\TwoFactor\VoterTest::voter_supportsClass_returnTrue PHP Méthode

voter_supportsClass_returnTrue() public méthode

    public function voter_supportsClass_returnTrue()
    {
        $sessionFlagManager = $this->getSessionFlagManager();
        $voter = $this->getVoter(array('test'), $sessionFlagManager);
        $returnValue = $voter->supportsClass('test');
        $this->assertTrue($returnValue);
    }