JRouterTest::testSetVar
Tests the setVar method
Signature
public function testSetVar(array
$vars,
string
$var,
mixed
$value,
boolean
$create,
string
$expected )
Parameters
-
$vars
- An associative array with variables
-
$var
- The name of the variable
-
$value
- The value of the variable
-
$create
- If True, the variable will be created if it doesn't exist yet
-
$expected
- Expected return value
Returns
- void