org.jmock.dynamic
Class InvocationMockerBuilder

java.lang.Object
  extended byorg.jmock.dynamic.InvocationMockerBuilder
All Implemented Interfaces:
ExpectationBuilder, StubBuilder

public class InvocationMockerBuilder
extends java.lang.Object
implements StubBuilder, ExpectationBuilder


Constructor Summary
InvocationMockerBuilder(InvocationMocker mocker)
           
 
Method Summary
 ExpectationBuilder isVoid()
           
 ExpectationBuilder returns(java.lang.Object returnValue)
           
 ExpectationBuilder willThrow(java.lang.Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationMockerBuilder

public InvocationMockerBuilder(InvocationMocker mocker)
Method Detail

isVoid

public ExpectationBuilder isVoid()
Specified by:
isVoid in interface StubBuilder

returns

public ExpectationBuilder returns(java.lang.Object returnValue)
Specified by:
returns in interface StubBuilder

willThrow

public ExpectationBuilder willThrow(java.lang.Throwable throwable)
Specified by:
willThrow in interface StubBuilder


Copyright © 2003 jMock.org. All Rights Reserved.