org.as2lib.core.BasicClass +--org.as2lib.test.mock.support.DefaultArgumentsMatcher
ArgumentsMatcher
DefaultArgumentsMatcher
matches the expected arguments agains the actual
arguments. If an argument is itself an array the elements of this array are
matched, not the array as object itself.
public function matchArguments(expectedArguments:Array, actualArguments:Array):Boolean
Matches the passed-in expectedArguments
against the
actualArguments
. Inner arrays are stepped through recursively.
expectedArguments | the expected arguments |
actualArguments | the actual arguments |
true
if the passed-in arguments match else false