com.mockobjects.dynamic
Class ThrowStub

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

public class ThrowStub
extends CallStub

Author:
dev

Constructor Summary
ThrowStub(java.lang.Throwable throwable)
           
 
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

ThrowStub

public ThrowStub(java.lang.Throwable throwable)
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.