com.mockobjects.dynamic
Interface Callable

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

public interface Callable
extends Verifiable


Method Summary
 java.lang.Object call(Mock mock, java.lang.String methodName, java.lang.Object[] args)
           
 java.lang.String getDescription()
           
 boolean matches(java.lang.String methodName, java.lang.Object[] args)
           
 
Methods inherited from interface com.mockobjects.Verifiable
verify
 

Method Detail

getDescription

public java.lang.String getDescription()

call

public java.lang.Object call(Mock mock,
                             java.lang.String methodName,
                             java.lang.Object[] args)
                      throws java.lang.Throwable
Throws:
java.lang.Throwable

matches

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


Copyright © 2002 Mock Objects. All Rights Reserved.