Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mockobjects.dynamic
Class ThrowStub  view ThrowStub download ThrowStub.java

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

public class ThrowStub
extends CallStub


Field Summary
private  java.lang.Throwable throwable
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

throwable

private java.lang.Throwable throwable
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

getDescription

public java.lang.String getDescription()