Scheb\TwoFactorBundle\Tests\Security\TwoFactor\VoterTest::voter_supportsClass_returnTrue PHP Method

voter_supportsClass_returnTrue() public method

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