Package org.jmock.api
The stable API that is used to extend jMock at its published plug-in points.
-
Interface Summary Interface Description Action An object that fakes the behaviour of anInvocationExpectation
.Expectation An object that matches, checks and fakes anInvocation
ExpectationCollector ExpectationErrorTranslator Translates expectation errors into error type used by a specific testing framework.Imposteriser An object that can creates a proxy of the given type to captureInvocation
s and pass them to anInvokable
object for mocking or stubbing.InvocationDispatcher Invokable An object that can receive anInvocation
.MockObjectNamingScheme Creates names for mock objects that have not explicitly been given a name.ThreadingPolicy -
Class Summary Class Description Invocation The static details about a method and the run-time details of its invocation. -
Enum Summary Enum Description Invocation.ExpectationMode Support distinguish between building expectations and asserting against expectations. -
Error Summary Error Description ExpectationError An error thrown when an expectation is violated during a test.