Package org.as2lib.test.mock

Interface Summary
ArgumentMatcher ArgumentMatcher matches one argument agains expectations
ArgumentsMatcher ArgumentsMatcher matches a list of expected arguments against a list of actual arguments
Behavior Behavior stores expected behaviors and exposes them for verification
MethodBehavior MethodBehavior stores the expected and actual behaviors of one method and verifies the expectation against the actual method calls
MethodBehaviorFactory MethodBehaviorFactory creates and returns configured method behaviors
MockControlState MockControlState determines most of the actual behavior of the MockControl class.
MockControlStateFactory MockControlStateFactory creates and returns configured mock control states
Class Summary
AssertionFailedError AssertionFailedError is thrown if any kind of assertion failed.
MethodCall MethodCall stores all information available about a method call
MethodCallRange MethodCallRange represents the number of expected method calls
MethodCallRangeError MethodCallRangeError is thrown if the expected method call range has not been met
MethodResponse MethodResponse holds and carries out the response if requested
MockControl MockControl is the central class of the mock object framework