com.mockobjects.dynamic
Class ReturnStub

java.lang.Object
  extended bycom.mockobjects.dynamic.CallStub
      extended bycom.mockobjects.dynamic.ReturnStub
All Implemented Interfaces:
Callable, Verifiable

public class ReturnStub
extends CallStub

Author:
dev

Constructor Summary
ReturnStub(java.lang.Object result)
           
 
Method Summary
 java.lang.Object call(Mock mock, java.lang.String methodName, java.lang.Object[] args)
           
 java.lang.String getDescription()
           
 
Methods inherited from class com.mockobjects.dynamic.CallStub
matches, verify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnStub

public ReturnStub(java.lang.Object result)
Method Detail

call

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

getDescription

public java.lang.String getDescription()


Copyright © 2002 Mock Objects. All Rights Reserved.