|
Class Summary |
| AMockObject |
The AMockObject class is extended by mock objects so that they can use the
Hammock framework. |
| ATestDoubleHandler |
The ATestDoubleHandler class is an
IInvocationHandler that can be extended to support mock and spy
objects. |
| ClassArgumentMatcher |
The ClassArgumentMatcher class checks that a method argument is an instance
of the expected class. |
| DefaultArgumentMatcher |
The DefaultArgumentMatcher is used by default by the
MethodHandler class to determine whether a method was invoked
with the expected arguments. |
| DefaultValues |
The DefaultValues class provides a utility method for providing default
instances of Java's wrapper classes. |
| Hammock |
The Hammock class is an IInvocationHandler that
causes a test double associated with the handler to behave like a mock
object. |
| Hamspy |
The Hamspy class is an IInvocationHandler that
causes a test double associated with the handler to behave like a spy object. |
| InvocationMatcher |
The InvocationMatcher class is a helper class for
verifying that expected and actual method invocations are equal. |
| InvocationVerifier |
The InvocationVerifier class is a helper class for
verifying that methods were invoked as expected; in particular it is used
with spy objects. |
| MethodHandler |
The MethodHandler class creates a handler for processing a method invocation. |
| MethodInvocation |
The MethodInvocation class describes a method invocation. |
| MockMethod |
The MockMethod class models a method associated with a mock
object (or another test double such as a spy or stub). |
| NotNullArgumentMatcher |
The NotNullArgumentMatcher class checks that a method argument
is not null. |
| PopulateArrayMatcher |
The PopulateArrayMatcher class allows a mocked method to populate an array
when the method is invoked. |
| PromiscuousArgumentMatcher |
The PromiscuousArgumentMatcher always returns that two method
arguments are equal. |