DefaultArgumentsMatcher
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Implements: | |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.test.mock.support.DefaultArgumentsMatcher |
| File last modified: | Wednesday, 28 September 2005, 00:40:04 |
DefaultArgumentsMatcher matches the expected arguments agains the actualarguments.
matched, not the array as object itself.
Summary
Constructor
Constructor
DefaultArgumentsMatcher
function DefaultArgumentsMatcher (
Void)
Constructs a new
DefaultArgumentsMatcher instance.Instance methods
matchArguments
function matchArguments (
expectedArguments:Array,
actualArguments:Array) : Boolean
Matches the passed-in
expectedArguments against theactualArguments. Inner arrays are stepped through recursively.Parameters:
expectedArguments:
the expected arguments
actualArguments :
the actual arguments
Returns:
true if the passed-in arguments match else falseSpecified by: