JAccessTest::testGetActionsFromData
Tests the JAccess::getActionsFromData method.
Signature
public function testGetActionsFromData(string
$data,
string
$xpath,
mixed
$expected,
string
$msg )
Parameters
-
$data
- The XML string representing the actions.
-
$xpath
- The XPath query to extract the action elements.
-
$expected
- The expected array of actions.
-
$msg
- The failure message.
Returns
- void