com.mockobjects.dynamic

Interface Callable

All Superinterfaces:
Verifiable
Known Subinterfaces:
CallableAddable
Known Implementing Classes:
CallBag, CallOnceExpectation, CallSequence, CallSignature, CallStub, ReturnStub, ThrowStub, VoidStub

public interface Callable
extends Verifiable

Method Summary

Object
call(Mock mock, String methodName, Object[] args)
String
getDescription()
boolean
matches(String methodName, Object[] args)

Methods inherited from interface com.mockobjects.Verifiable

verify

Method Details

call

public Object call(Mock mock,
                   String methodName,
                   Object[] args)
            throws Throwable

getDescription

public String getDescription()

matches

public boolean matches(String methodName,
                       Object[] args)

Copyright © 2002 Mock Objects. All Rights Reserved.