Access keys

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 actual
arguments.
If an argument is itself an array the elements of this array are
matched, not the array as object itself.

Summary

Instance methods
Instance methods inherited from BasicClass

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 the
actualArguments. Inner arrays are stepped through recursively.
Parameters:
expectedArguments:
the expected arguments
actualArguments :
the actual arguments
Returns:
true if the passed-in arguments match else false