PHP Class Krucas\LaravelUserEmailVerification\Test\DatabaseTokenRepositoryTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: edvinaskrucas/laravel-user-email-verification

Public Methods

Method Description
tearDown ( )
testCreateShouldDeleteExistingAndInsertNewOne ( )
testDeleteShouldDeleteExpiredTokens ( )
testDeleteShouldDeleteToken ( )
testDeleteShouldSkipDeleteExpiredIfDisabled ( )
testExistsOnExpiredToken ( )
testExistsOnNonExpiredToken ( )
testExistsShouldReturnFalseOnNotFound ( )
testExistsShouldReturnTrue ( )

Protected Methods

Method Description
getMocks ( )
getQueryBuilderMock ( )
getRepository ( $mocks )
getUserMock ( )

Method Details

getMocks() protected method

protected getMocks ( )

getQueryBuilderMock() protected method

protected getQueryBuilderMock ( )

getRepository() protected method

protected getRepository ( $mocks )

getUserMock() protected method

protected getUserMock ( )

tearDown() public method

public tearDown ( )

testCreateShouldDeleteExistingAndInsertNewOne() public method

testDeleteShouldDeleteExpiredTokens() public method

testDeleteShouldDeleteToken() public method

testDeleteShouldSkipDeleteExpiredIfDisabled() public method

testExistsOnExpiredToken() public method

testExistsOnNonExpiredToken() public method

testExistsShouldReturnFalseOnNotFound() public method

testExistsShouldReturnTrue() public method