Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Xpressengine
Tests
User
GuardTest
PHP Class Xpressengine\Tests\User\GuardTest
Inheritance:
extends
PHPUnit_Framework_TestCase
ファイルを表示
Open project: xpressengine/xpressengine
Public Methods
Method
Description
testIdIfUserGiven
( )
testIdReturnNullIfUserNotGiven
( )
testIsAuthedReturnsTrueWhenUserIsNotNull
( )
testLogoutRemovesSessionTokenAndRememberMeCookie
( )
testNullIsReturnedForUserIfNoUserFound
( )
testUserIsSetToRetrievedUser
( )
testUserMethodReturnsCachedUser
( )
Protected Methods
Method
Description
getGuard
( )
getMocks
( )
tearDown
( )
Method Details
getGuard()
protected
method
protected
getGuard
( )
getMocks()
protected
method
protected
getMocks
( )
tearDown()
protected
method
protected
tearDown
( )
testIdIfUserGiven()
public
method
public
testIdIfUserGiven
( )
testIdReturnNullIfUserNotGiven()
public
method
public
testIdReturnNullIfUserNotGiven
( )
testIsAuthedReturnsTrueWhenUserIsNotNull()
public
method
public
testIsAuthedReturnsTrueWhenUserIsNotNull
( )
testLogoutRemovesSessionTokenAndRememberMeCookie()
public
method
public
testLogoutRemovesSessionTokenAndRememberMeCookie
( )
testNullIsReturnedForUserIfNoUserFound()
public
method
public
testNullIsReturnedForUserIfNoUserFound
( )
testUserIsSetToRetrievedUser()
public
method
public
testUserIsSetToRetrievedUser
( )
testUserMethodReturnsCachedUser()
public
method
public
testUserMethodReturnsCachedUser
( )