DynamicRoleProviderTest
extends TestCase
in package
Dynamic Role Provider Test Class
Tags
Table of Contents
- testConfiguration() : void
- Test that configurations get processed correctly
- getDynamicRoleProvider() : DynamicRoleProvider
- Get the DynamicRoleProvider to test.
- getFakePluginManager() : PluginManager
- Get a plugin manager populated with fake services to test.
Methods
testConfiguration()
Test that configurations get processed correctly
public
testConfiguration() : void
Return values
void —getDynamicRoleProvider()
Get the DynamicRoleProvider to test.
protected
getDynamicRoleProvider([PluginManager $pluginManager = null ][, array<string|int, mixed> $config = [] ]) : DynamicRoleProvider
Parameters
- $pluginManager : PluginManager = null
-
Permission provider plugin manager
- $config : array<string|int, mixed> = []
-
Configuration
Return values
DynamicRoleProvider —getFakePluginManager()
Get a plugin manager populated with fake services to test.
protected
getFakePluginManager() : PluginManager