PHP Class Xpressengine\Tests\User\UserHandlerTest

Inheritance: extends PHPUnit_Framework_TestCase
ファイルを表示 Open project: xpressengine/xpressengine

Public Methods

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

Protected Methods

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

Private Methods

Method 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 method

protected getAccounts ( )

getContainer() protected method

protected getContainer ( )

getGroups() protected method

protected getGroups ( )

getHasher() protected method

protected getHasher ( )

getImageHander() protected method

protected getImageHander ( )

getMails() protected method

protected getMails ( )

getPendingMails() protected method

protected getPendingMails ( )

getUsers() protected method

protected getUsers ( )

getValidator() protected method

protected getValidator ( )

getVgroups() protected method

protected getVgroups ( )

tearDown() protected method

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

testCallMagicMethod() public method

public testCallMagicMethod ( )

testCreate() public method

public testCreate ( )

testCreateWithAccounts() public method

testCreateWithEmail() public method

public testCreateWithEmail ( )

testCreateWithGroups() public method

testCreateWithPendingEmail() public method

testUpdateWhenDisplayNameisDifferent() public method

testUpdateWhenDisplayNameisEqual() public method

testValidateForCreateFail() public method

testValidateForCreateWithEmptyDisplayName() public method

testValidateForCreateWithExistingAccount() public method

testValidateForCreateWithExistingDisplayName() public method

testValidateForCreateWithExistingEmail() public method

testValidateForCreateWithInvalidAccount() public method

testValidateForCreateWithInvalidDisplayName() public method

testValidateForCreateWithoutEmailAndAccount() public method

testValidatePasswordWhenFail() public method

testValidatePasswordWhenSuccess() public method