PHP Class Krucas\LaravelUserEmailVerification\Test\VerificationBrokerTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: edvinaskrucas/laravel-user-email-verification

Méthodes publiques

Méthode Description
tearDown ( )
testBrokerCreatesTokenAndRedirectsWithoutError ( )
testGetUserThrowsExceptionIfUserDoesntImplementRequiresEmailVerification ( )
testIfUserIsNotFoundErrorRedirectIsReturned ( )
testMailerIsCalledWithProperViewTokenAndCallback ( )
testRedirectIsReturnedByVerificationWhenUserCredentialsInvalid ( )
testRedirectReturnedByVerificationWhenRecordDoesntExistInTable ( )
testUserIsRetrievedByCredentials ( )
testVerificationRemovesRecordOnTokenTableAndCallsCallback ( )

Méthodes protégées

Méthode Description
getBroker ( $mocks )
getMocks ( )

Method Details

getBroker() protected méthode

protected getBroker ( $mocks )

getMocks() protected méthode

protected getMocks ( )

tearDown() public méthode

public tearDown ( )

testBrokerCreatesTokenAndRedirectsWithoutError() public méthode

testGetUserThrowsExceptionIfUserDoesntImplementRequiresEmailVerification() public méthode

testIfUserIsNotFoundErrorRedirectIsReturned() public méthode

testMailerIsCalledWithProperViewTokenAndCallback() public méthode

testRedirectIsReturnedByVerificationWhenUserCredentialsInvalid() public méthode

testRedirectReturnedByVerificationWhenRecordDoesntExistInTable() public méthode

testUserIsRetrievedByCredentials() public méthode

testVerificationRemovesRecordOnTokenTableAndCallsCallback() public méthode