com.mockobjects.dynamic

Class CallSignature

Implemented Interfaces:
Callable, Verifiable

public class CallSignature
extends Assert
implements Callable

Constructor Summary

CallSignature(String methodName, ConstraintMatcher constraints, Callable delegate)

Method Summary

Object
call(Mock mock, String methodName, Object[] args)
String
getDescription()
boolean
matches(String methodName, Object[] args)
String
toString()
void
verify()
Throw an AssertionFailedException if any expectations have not been met.

Constructor Details

CallSignature

public CallSignature(String methodName,
                     ConstraintMatcher constraints,
                     Callable delegate)

Method Details

call

public Object call(Mock mock,
                   String methodName,
                   Object[] args)
            throws Throwable
Specified by:
call in interface Callable

getDescription

public String getDescription()
Specified by:
getDescription in interface Callable

matches

public boolean matches(String methodName,
                       Object[] args)
Specified by:
matches in interface Callable

toString

public String toString()

verify

public void verify()
Throw an AssertionFailedException if any expectations have not been met.
Specified by:
verify in interface Verifiable

Copyright © 2002 Mock Objects. All Rights Reserved.