PHP Класс Xpressengine\Tests\User\UserHandlerTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testCallMagicMethod ( )
testCreate ( )
testCreateWithAccounts ( )
testCreateWithEmail ( )
testCreateWithGroups ( )
testCreateWithPendingEmail ( )
testUpdateWhenDisplayNameisDifferent ( )
testUpdateWhenDisplayNameisEqual ( )
testValidateForCreateFail ( )
testValidateForCreateWithEmptyDisplayName ( )
testValidateForCreateWithExistingAccount ( )
testValidateForCreateWithExistingDisplayName ( )
testValidateForCreateWithExistingEmail ( )
testValidateForCreateWithInvalidAccount ( )
testValidateForCreateWithInvalidDisplayName ( )
testValidateForCreateWithoutEmailAndAccount ( )
testValidatePasswordWhenFail ( )
testValidatePasswordWhenSuccess ( )

Защищенные методы

Метод Описание
getAccounts ( )
getContainer ( )
getGroups ( )
getHasher ( )
getImageHander ( )
getMails ( )
getPendingMails ( )
getUsers ( )
getValidator ( )
getVgroups ( )
tearDown ( ) Tears down the fixture, for example, close a network connection.

Приватные методы

Метод Описание
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

Описание методов

getAccounts() защищенный Метод

protected getAccounts ( )

getContainer() защищенный Метод

protected getContainer ( )

getGroups() защищенный Метод

protected getGroups ( )

getHasher() защищенный Метод

protected getHasher ( )

getImageHander() защищенный Метод

protected getImageHander ( )

getMails() защищенный Метод

protected getMails ( )

getPendingMails() защищенный Метод

protected getPendingMails ( )

getUsers() защищенный Метод

protected getUsers ( )

getValidator() защищенный Метод

protected getValidator ( )

getVgroups() защищенный Метод

protected getVgroups ( )

tearDown() защищенный Метод

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

testCallMagicMethod() публичный Метод

public testCallMagicMethod ( )

testCreate() публичный Метод

public testCreate ( )

testCreateWithAccounts() публичный Метод

testCreateWithEmail() публичный Метод

public testCreateWithEmail ( )

testCreateWithGroups() публичный Метод

testCreateWithPendingEmail() публичный Метод

testUpdateWhenDisplayNameisDifferent() публичный Метод

testUpdateWhenDisplayNameisEqual() публичный Метод

testValidateForCreateFail() публичный Метод

testValidateForCreateWithEmptyDisplayName() публичный Метод

testValidateForCreateWithExistingAccount() публичный Метод

testValidateForCreateWithExistingDisplayName() публичный Метод

testValidateForCreateWithExistingEmail() публичный Метод

testValidateForCreateWithInvalidAccount() публичный Метод

testValidateForCreateWithInvalidDisplayName() публичный Метод

testValidateForCreateWithoutEmailAndAccount() публичный Метод

testValidatePasswordWhenFail() публичный Метод

testValidatePasswordWhenSuccess() публичный Метод