test.jmock.core
Class MockDescriber

java.lang.Object
  extended bytest.jmock.core.MockDescriber
All Implemented Interfaces:
InvocationMocker.Describer, Verifiable

public class MockDescriber
extends Object
implements InvocationMocker.Describer, Verifiable


Field Summary
 ExpectationValue describeToBuf
           
 ExpectationList describeToMatchers
           
 ExpectationValue describeToName
           
 ExpectationValue describeToStub
           
 ExpectationCounter hasDescriptionCalls
           
 boolean hasDescriptionResult
           
 
Constructor Summary
MockDescriber()
           
 
Method Summary
 void describeTo(StringBuffer buf, List matchers, Stub stub, String name)
           
 boolean hasDescription()
           
 void verify()
          Throw an AssertionFailedException if any expectations have not been met.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasDescriptionCalls

public ExpectationCounter hasDescriptionCalls

hasDescriptionResult

public boolean hasDescriptionResult

describeToBuf

public ExpectationValue describeToBuf

describeToMatchers

public ExpectationList describeToMatchers

describeToStub

public ExpectationValue describeToStub

describeToName

public ExpectationValue describeToName
Constructor Detail

MockDescriber

public MockDescriber()
Method Detail

hasDescription

public boolean hasDescription()
Specified by:
hasDescription in interface InvocationMocker.Describer

describeTo

public void describeTo(StringBuffer buf,
                       List matchers,
                       Stub stub,
                       String name)
Specified by:
describeTo in interface InvocationMocker.Describer

verify

public void verify()
Description copied from interface: Verifiable
Throw an AssertionFailedException if any expectations have not been met.

Specified by:
verify in interface Verifiable