org.jmock.stub
Interface StubBuilder

All Known Implementing Classes:
InvocationMockerBuilder

public interface StubBuilder


Method Summary
 ExpectationBuilder isVoid()
           
 ExpectationBuilder returns(java.lang.Object returnValue)
           
 ExpectationBuilder willThrow(java.lang.Throwable throwable)
           
 

Method Detail

isVoid

public ExpectationBuilder isVoid()

returns

public ExpectationBuilder returns(java.lang.Object returnValue)

willThrow

public ExpectationBuilder willThrow(java.lang.Throwable throwable)


Copyright © 2003 jMock.org. All Rights Reserved.