Logo Search packages:      
Sourcecode: jmock2 version File versions  Download package

org::jmock::integration::junit3::JUnit3Mockery Class Reference

Inheritance diagram for org::jmock::integration::junit3::JUnit3Mockery:


List of all members.

Detailed Description

A Mockery that reports expectation errors as JUnit 3 test failures.


Definition at line 10 of file JUnit3Mockery.java.

Public Member Functions

void addExpectation (Expectation expectation)
void assertIsSatisfied ()
void checking (ExpectationBuilder expectations)
void describeTo (Description description)
Sequence sequence (String name)
void setDefaultResultForType (Class<?> type, Object result)
void setExpectationErrorTranslator (ExpectationErrorTranslator expectationErrorTranslator)
void setImposteriser (Imposteriser imposteriser)
void setNamingScheme (MockObjectNamingScheme namingScheme)
States states (String name)

Package Functions

public< T > T mock (Class< T > typeToMock, String name)
public< T > T mock (Class< T > typeToMock)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index