TestMockRules::mockAllow
Mocking the allow method.
Signature
public function mockAllow(string
$action,
integer
$identity )
Parameters
-
$action
- The action.
-
$identity
- The identity ID.
Returns
- mixed
- Boolean or null.