test.jmock.core
Class MockDescriber
java.lang.Object
test.jmock.core.MockDescriber
- All Implemented Interfaces:
- InvocationMocker.Describer, Verifiable
- public class MockDescriber
- extends Object
- implements InvocationMocker.Describer, Verifiable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasDescriptionCalls
public ExpectationCounter hasDescriptionCalls
hasDescriptionResult
public boolean hasDescriptionResult
describeToBuf
public ExpectationValue describeToBuf
describeToMatchers
public ExpectationList describeToMatchers
describeToStub
public ExpectationValue describeToStub
describeToName
public ExpectationValue describeToName
MockDescriber
public MockDescriber()
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