Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Bolt
Tests
Nut
UserRoleAddTest
PHP Class Bolt\Tests\Nut\UserRoleAddTest
Author:
Ross Riley (
[email protected]
)
Inheritance:
extends
Bolt\Tests\BoltUnitTest
Show file
Open project: bolt/bolt
Public Methods
Method
Description
testAdd
( )
testRoleExists
( )
testRoleFails
( )
Protected Methods
Method
Description
getUserMockWithReturns
(
$hasRole
= false,
$addRole
= true )
Method Details
getUserMockWithReturns()
protected
method
protected
getUserMockWithReturns
(
$hasRole
= false,
$addRole
= true )
testAdd()
public
method
public
testAdd
( )
testRoleExists()
public
method
public
testRoleExists
( )
testRoleFails()
public
method
public
testRoleFails
( )