PHP Class Xpressengine\Tests\User\UserHandlerTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: xpressengine/xpressengine

Méthodes publiques

Méthode Description
testCallMagicMethod ( )
testCreate ( )
testCreateWithAccounts ( )
testCreateWithEmail ( )
testCreateWithGroups ( )
testCreateWithPendingEmail ( )
testUpdateWhenDisplayNameisDifferent ( )
testUpdateWhenDisplayNameisEqual ( )
testValidateForCreateFail ( )
testValidateForCreateWithEmptyDisplayName ( )
testValidateForCreateWithExistingAccount ( )
testValidateForCreateWithExistingDisplayName ( )
testValidateForCreateWithExistingEmail ( )
testValidateForCreateWithInvalidAccount ( )
testValidateForCreateWithInvalidDisplayName ( )
testValidateForCreateWithoutEmailAndAccount ( )
testValidatePasswordWhenFail ( )
testValidatePasswordWhenSuccess ( )

Méthodes protégées

Méthode Description
getAccounts ( )
getContainer ( )
getGroups ( )
getHasher ( )
getImageHander ( )
getMails ( )
getPendingMails ( )
getUsers ( )
getValidator ( )
getVgroups ( )
tearDown ( ) Tears down the fixture, for example, close a network connection.

Private Methods

Méthode Description
getHandler ( $users = null, $accounts = null, $groups = null, $emails = null, $pendingEmails = null, $imageHandler = null, $hasher = null, $validator = null, $container = null ) : UserHandler
getHandlerMock ( $users = null, $accounts = null, $groups = null, $emails = null, $pendingEmails = null, $imageHandler = null, $hasher = null, $validator = null, $container = null ) : UserHandler
makeAccount ( )
makeEmail ( ) : Mockery\MockInterface makeEmail
makeQuery ( ) : Mockery\MockInterface makeQuery
makeUser ( ) : Mockery\MockInterface makeUser

Method Details

getAccounts() protected méthode

protected getAccounts ( )

getContainer() protected méthode

protected getContainer ( )

getGroups() protected méthode

protected getGroups ( )

getHasher() protected méthode

protected getHasher ( )

getImageHander() protected méthode

protected getImageHander ( )

getMails() protected méthode

protected getMails ( )

getPendingMails() protected méthode

protected getPendingMails ( )

getUsers() protected méthode

protected getUsers ( )

getValidator() protected méthode

protected getValidator ( )

getVgroups() protected méthode

protected getVgroups ( )

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( )

testCallMagicMethod() public méthode

public testCallMagicMethod ( )

testCreate() public méthode

public testCreate ( )

testCreateWithAccounts() public méthode

testCreateWithEmail() public méthode

public testCreateWithEmail ( )

testCreateWithGroups() public méthode

testCreateWithPendingEmail() public méthode

testUpdateWhenDisplayNameisDifferent() public méthode

testUpdateWhenDisplayNameisEqual() public méthode

testValidateForCreateFail() public méthode

testValidateForCreateWithEmptyDisplayName() public méthode

testValidateForCreateWithExistingAccount() public méthode

testValidateForCreateWithExistingDisplayName() public méthode

testValidateForCreateWithExistingEmail() public méthode

testValidateForCreateWithInvalidAccount() public méthode

testValidateForCreateWithInvalidDisplayName() public méthode

testValidateForCreateWithoutEmailAndAccount() public méthode

testValidatePasswordWhenFail() public méthode

testValidatePasswordWhenSuccess() public méthode