Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Trusted\TrustedFilterTest::requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue PHP Method

requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue() public method

    public function requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue()
    {
        $context = $this->getAuthenticationContext();
        //Mock the context
        $context->expects($this->once())->method('setUseTrustedOption')->with(true);
        $this->trustedFilter->requestAuthenticationCode($context);
    }