Do not use this function in production code. For use in **unit tests** that require a [[AccessControlResource]]. Copy
Do not use this function in production code. For use in **unit tests** that require a [[AccessControlResource]].
Initialises a new empty Access Control Resource for a given Resource for use in unit tests.
The URL of the Resource to which the mocked ACR should apply.
Optional
The mocked empty Access Control Resource for the given Resource.
1.6.0
Initialises a new empty Access Control Resource for a given Resource for use in unit tests.