PHP Class Scheb\TwoFactorBundle\Tests\Security\TwoFactor\EventListener\RequestListenerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: scheb/two-factor-bundle

Public Methods

Method Description
onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode ( )
onCoreRequest_pathExcluded_notRequestAuthenticationCode ( )
onCoreRequest_responseCreated_setResponseOnEvent ( )
onCoreRequest_tokenClassNotSupported_doNothing ( )
onCoreRequest_tokenClassSupported_requestAuthenticationCode ( )
setUp ( )

Private Methods

Method Description
createEvent ( $pathInfo = '/some-path/' ) : PHPUnit_Framework_MockObject_MockObject
createSupportedSecurityToken ( ) : UsernamePasswordToken
stubTokenStorage ( $token )

Method Details

onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode() public method

onCoreRequest_pathExcluded_notRequestAuthenticationCode() public method

onCoreRequest_responseCreated_setResponseOnEvent() public method

onCoreRequest_tokenClassNotSupported_doNothing() public method

onCoreRequest_tokenClassSupported_requestAuthenticationCode() public method

setUp() public method

public setUp ( )