PHP Class Xpressengine\Tests\Permission\PermissionHandlerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: xpressengine/xpressengine

Public Methods

Method Description
tearDown ( )
testDestory ( )
testGet ( )
testGetOrNew ( )
testMoveFromChildToAnotherChild ( )
testMoveFromChildToTop ( )
testMoveFromTopToAnotherChild ( )
testMoveThrowsExceptionWhenGivenInvalidTo ( )
testMoveThrowsExceptionWhenNotTopAndNotHasParent ( )
testRegisterExecutedInsertWhenNotExists ( )
testRegisterExecutedUpdateWhenNotExists ( )
testSetAncestor ( )

Private Methods

Method Description
getMocks ( )
invokeMethod ( &$object, $methodName, array $parameters = [] )

Method Details

tearDown() public method

public tearDown ( )

testDestory() public method

public testDestory ( )

testGet() public method

public testGet ( )

testGetOrNew() public method

public testGetOrNew ( )

testMoveFromChildToAnotherChild() public method

testMoveFromChildToTop() public method

testMoveFromTopToAnotherChild() public method

testMoveThrowsExceptionWhenGivenInvalidTo() public method

testMoveThrowsExceptionWhenNotTopAndNotHasParent() public method

testRegisterExecutedInsertWhenNotExists() public method

testRegisterExecutedUpdateWhenNotExists() public method

testSetAncestor() public method

public testSetAncestor ( )