All Classes
-
All Classes Interface Summary Class Summary Exception Summary Error Summary Class Description AbstractDynamicMock AbstractExpectation AbstractExpectationCollection AbstractInvocationDispatcher And Calculates the logical conjunction of two constraints.AnyArgumentsMatcher ArgumentsMatchBuilder ArgumentsMatcher AssertMo BuilderNamespace CGLIBCoreMock Constraint A constraint over acceptable values.CoreMock CustomStub A partial implementation of the Stub interface that makes it convenient to implement application-specific stubs with inline anonymous classes:DefaultResultStub DoAllStub Dummy Deprecated. Use MockObjectTestCase.newDummy insteadDynamicMock DynamicMockError ExceptionalReturnValue Sequence of exception values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects.Expectation An Expectation is an object that we set up at the beginning of a unit test to expect certain things to happen to it.ExpectationCollection An ExpectationCollection is an expectation that supports multiple values, such as lists and sets.ExpectationCounter ExpectationDoubleValue ExpectationList ExpectationMap ExpectationSegment ExpectationSet ExpectationValue FIFOInvocationDispatcher Formatting HasProperty Constraint that checks that an object has a JavaBean property with the specified name.HasPropertyWithValue Constraint that asserts that a JavaBean property on an argument passed to the mock object meets the provided constraint.HasToString IdentityBuilder Invocation The static details about a method and the run-time details of its invocation.InvocationDispatcher InvocationMatcher InvocationMocker InvocationMocker.Describer InvocationMockerBuilder InvocationMockerDescriber Invokable InvokeAtLeastOnceMatcher InvokeAtMostOnceMatcher InvokeCountMatcher InvokedAfterMatcher InvokedRecorder InvokeOnceMatcher IsAnything A constraint that always returnstrue
.IsArrayContaining IsCloseTo Is the value a number equal to a value within some range of acceptable error?IsCollectionContaining IsCompatibleType IsEqual Is the value equal to another value, as tested by theObject.equals(java.lang.Object)
invokedMethod?IsEventFrom Tests if the value is an event announced by a specific object.IsGreaterThan Is the value greater than anotherComparable
value?IsIn IsInstanceOf Tests whether the value is an instance of a class.IsLessThan Is the value less than anotherComparable
value?IsMapContaining IsNot Calculates the logical negation of a constraint.IsNothing IsNull Is the value null?IsSame Is the value the same object as another value?LIFOInvocationDispatcher MapEntry A public MapEntry data type that can be used where the Map.Entry interface is required (needed because the Sun implementation is package protected)MatchBuilder MethodNameMatcher Mock MockObject MockObjectSupportTestCase MockObjectTestCase MockObjectTestCase A base class for tests that use Mock Objects.NameMatchBuilder NoArgumentsMatcher NotImplementedException Null A class that represents thenull
value.Or Calculates the logical disjunction of two constraints.PropertyUtil Utility class for accessing properties on JavaBean objects.ReturnIteratorStub ReturnObjectBag The ReturnObjectBag is a map containing instances of ReturnObjectList.ReturnObjectList This class allows a list of objects to be setup which can be used whilst.The list is check to make sure that all the object in it are used and that none are left over at the end of a test.ReturnObjectMap ReturnStub ReturnValue The ReturnValue class allows a value to be setup which will then be returned upon a specific invokedMethod call.ReturnValues Sequence values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects.SelfDescribing An object that can describe itself.StatelessInvocationMatcher StringContains Tests if the argument is a string that contains a substring.StringEndsWith Tests if the argument is a string that contains a substring.StringStartsWith Tests if the argument is a string that contains a substring.Stub An object that stubs the behaviour of a invokedMethod invocation on behalf of anInvokable
object.StubBuilder StubMatchersCollection StubSequence SubstringConstraint TestFailureMatcher TestFailureStub ThrowStub Verifiable A Verifiable is an object that can confirm at the end of a unit test that the correct behvaiour has occurred.Verifier Helper class to verify allVerifiable
fields of an object.VerifyingTestCase ATestCase
that verifiesVerifiable
fields and registered Verifiable objects after the test has run and before the fixture has been torn down.VoidReturnValues Sequence of void values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects.VoidStub