PHP Class ImboIntegrationTest\Auth\AccessControl\Adapter\AdapterTests

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
setUp ( ) Set up
tearDown ( ) Tear down
testCanAddAndFetchGroups ( )
testCanCheckIfGroupExists ( )
testCanManipulateAccessRules ( )
testCanManipulateKeys ( )
testCanRemoveGroup ( )
testCanUpdateResourceGroup ( )
testDeleteAccessRuleWithIdThatDoesNotExist ( )
testGetAccessRuleThatDoesNotExist ( )
testReturnsEmptyArrayWhenThereIsNoGroups ( )

Protected Methods

Method Description
getAdapter ( ) : Imbo\Auth\AccessControl\Adapter\MutableAdapterInterface Get the adapter we want to test

Method Details

getAdapter() abstract protected method

Get the adapter we want to test
abstract protected getAdapter ( ) : Imbo\Auth\AccessControl\Adapter\MutableAdapterInterface
return Imbo\Auth\AccessControl\Adapter\MutableAdapterInterface

setUp() public method

Set up
public setUp ( )

tearDown() public method

Tear down
public tearDown ( )

testCanAddAndFetchGroups() public method

testCanCheckIfGroupExists() public method

testCanManipulateAccessRules() public method

testCanManipulateKeys() public method

testCanRemoveGroup() public method

public testCanRemoveGroup ( )

testCanUpdateResourceGroup() public method

testDeleteAccessRuleWithIdThatDoesNotExist() public method

testGetAccessRuleThatDoesNotExist() public method

testReturnsEmptyArrayWhenThereIsNoGroups() public method