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

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: scheb/two-factor-bundle

Méthodes publiques

Méthode Description
onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode ( )
onCoreRequest_pathExcluded_notRequestAuthenticationCode ( )
onCoreRequest_responseCreated_setResponseOnEvent ( )
onCoreRequest_tokenClassNotSupported_doNothing ( )
onCoreRequest_tokenClassSupported_requestAuthenticationCode ( )
setUp ( )

Private Methods

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

Method Details

onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode() public méthode

onCoreRequest_pathExcluded_notRequestAuthenticationCode() public méthode

onCoreRequest_responseCreated_setResponseOnEvent() public méthode

onCoreRequest_tokenClassNotSupported_doNothing() public méthode

onCoreRequest_tokenClassSupported_requestAuthenticationCode() public méthode

setUp() public méthode

public setUp ( )