Index (jMock API Documentation)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I J L M N O P R S T U V W X

## A

AbstractDynamicMock - Class in org.jmock.core
AbstractDynamicMock(Class, String) - Constructor for class org.jmock.core.AbstractDynamicMock
AbstractDynamicMock(Class, String, InvocationDispatcher) - Constructor for class org.jmock.core.AbstractDynamicMock
AbstractExpectation - Class in org.jmock.expectation
AbstractExpectation(String) - Constructor for class org.jmock.expectation.AbstractExpectation
AbstractExpectationCollection - Class in org.jmock.expectation
AbstractExpectationCollection(String) - Constructor for class org.jmock.expectation.AbstractExpectationCollection
AbstractInvocationDispatcher - Class in org.jmock.core
AbstractInvocationDispatcher() - Constructor for class org.jmock.core.AbstractInvocationDispatcher
add(Invokable) - Method in class org.jmock.core.AbstractInvocationDispatcher
add(Invokable) - Method in interface org.jmock.core.InvocationDispatcher
add(Object) - Method in class org.jmock.expectation.ReturnValues
addActual(Object) - Method in class org.jmock.expectation.AbstractExpectationCollection
addActual(int) - Method in class org.jmock.expectation.AbstractExpectationCollection
addActual(long) - Method in class org.jmock.expectation.AbstractExpectationCollection
addActual(Object) - Method in interface org.jmock.expectation.ExpectationCollection
addActual(long) - Method in interface org.jmock.expectation.ExpectationCollection
addActualMany(Object[]) - Method in class org.jmock.expectation.AbstractExpectationCollection
addActualMany(Enumeration) - Method in class org.jmock.expectation.AbstractExpectationCollection
addActualMany(Iterator) - Method in class org.jmock.expectation.AbstractExpectationCollection
addActualMany(Object[]) - Method in interface org.jmock.expectation.ExpectationCollection
addActualMany(Enumeration) - Method in interface org.jmock.expectation.ExpectationCollection
addActualMany(Iterator) - Method in interface org.jmock.expectation.ExpectationCollection
addAll(Collection) - Method in class org.jmock.expectation.ReturnValues
addExpected(int) - Method in class org.jmock.expectation.AbstractExpectationCollection
addExpected(Object) - Method in class org.jmock.expectation.AbstractExpectationCollection
addExpected(long) - Method in class org.jmock.expectation.AbstractExpectationCollection
addExpected(Object) - Method in interface org.jmock.expectation.ExpectationCollection
addExpected(long) - Method in interface org.jmock.expectation.ExpectationCollection
addExpected(Object, Object) - Method in class org.jmock.expectation.ExpectationMap
addExpectedMany(Object[]) - Method in class org.jmock.expectation.AbstractExpectationCollection
addExpectedMany(Enumeration) - Method in class org.jmock.expectation.AbstractExpectationCollection
addExpectedMany(Iterator) - Method in class org.jmock.expectation.AbstractExpectationCollection
addExpectedMany(Object[]) - Method in interface org.jmock.expectation.ExpectationCollection
addExpectedMany(Enumeration) - Method in interface org.jmock.expectation.ExpectationCollection
addExpectedMany(Iterator) - Method in interface org.jmock.expectation.ExpectationCollection
addExpectedMissing(Object) - Method in class org.jmock.expectation.ExpectationMap
addInvokable(Invokable) - Method in class org.jmock.core.AbstractDynamicMock
addInvokable(Invokable) - Method in interface org.jmock.core.DynamicMock
addInvokable(Invokable) - Method in class org.jmock.Mock
addMatcher(InvocationMatcher) - Method in class org.jmock.core.InvocationMocker
addMatcher(InvocationMatcher) - Method in interface org.jmock.core.StubMatchersCollection
addObjectToReturn(Object) - Method in class org.jmock.expectation.ReturnObjectList
  Add a next object to the end of the list.
addObjectToReturn(boolean) - Method in class org.jmock.expectation.ReturnObjectList
  Add a next boolean to the end of the list.
addObjectToReturn(int) - Method in class org.jmock.expectation.ReturnObjectList
  Add a next integer to the end of the list.
addResult(Class, Object) - Method in class org.jmock.core.stub.DefaultResultStub
addThingsTo(Collection) - Method in interface atest.jmock.DoAllAcceptanceTest.Collector
after(String) - Method in class org.jmock.builder.InvocationMockerBuilder
after(BuilderNamespace, String) - Method in class org.jmock.builder.InvocationMockerBuilder
after(String) - Method in interface org.jmock.builder.MatchBuilder
after(BuilderNamespace, String) - Method in interface org.jmock.builder.MatchBuilder
And - Class in org.jmock.core.constraint
  Calculates the logical conjunction of two constraints.
And(Constraint, Constraint) - Constructor for class org.jmock.core.constraint.And
and(Constraint, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
AnyArgumentsMatcher - Class in org.jmock.core.matcher
AnyArgumentsMatcher() - Constructor for class org.jmock.core.matcher.AnyArgumentsMatcher
ANYTHING - Static variable in class org.jmock.core.MockObjectSupportTestCase
ArgumentsMatchBuilder - Interface in org.jmock.builder
ArgumentsMatcher - Class in org.jmock.core.matcher
ArgumentsMatcher(Constraint[]) - Constructor for class org.jmock.core.matcher.ArgumentsMatcher
arrayContaining(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(boolean) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(byte) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(short) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(char) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(int) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(long) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(float) - Method in class org.jmock.core.MockObjectSupportTestCase
arrayContaining(double) - Method in class org.jmock.core.MockObjectSupportTestCase
assertEquals(String, int, int) - Method in class org.jmock.expectation.AbstractExpectation
assertEquals(String, Object, Object) - Method in class org.jmock.expectation.AbstractExpectation
  Due to junit Assert being a Singleton implemented with static methods, and java's unfortunate implementation of class methods (e.g.
assertEquals(String, Object[], Object[]) - Static method in class org.jmock.expectation.AssertMo
assertEquals(String, int, int) - Method in class org.jmock.expectation.MockObject
assertEquals(String, Object, Object) - Method in class org.jmock.expectation.MockObject
assertExcludes(String, String, String) - Static method in class org.jmock.expectation.AssertMo
assertFails(String, Runnable) - Static method in class org.jmock.expectation.AssertMo
assertIncludes(String, String, String) - Static method in class org.jmock.expectation.AssertMo
AssertMo - Class in org.jmock.expectation
AssertMo() - Constructor for class org.jmock.expectation.AssertMo
assertStartsWith(String, String, String) - Static method in class org.jmock.expectation.AssertMo
assertStringContains(String, String, String) - Static method in class atest.jmock.ErrorMessagesAcceptanceTest
assertSubstringOrder(String, String, String, String) - Static method in class atest.jmock.ErrorMessagesAcceptanceTest
assertThat(Object, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(boolean, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(byte, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(short, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(char, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(int, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(long, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(float, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertThat(double, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
assertTrue(String, boolean) - Method in class org.jmock.expectation.MockObject
assertVerifyFails(Verifiable) - Static method in class org.jmock.expectation.AssertMo
atest.jmock - package atest.jmock
atest.jmock.cglib - package atest.jmock.cglib
atLeastOnce() - Method in class org.jmock.MockObjectTestCase
atMostOnce() - Method in class org.jmock.MockObjectTestCase

## B

BadMethodNameAcceptanceTest - Class in atest.jmock
BadMethodNameAcceptanceTest() - Constructor for class atest.jmock.BadMethodNameAcceptanceTest
BuilderNamespace - Interface in org.jmock.builder
buyLowestPriceStock(int) - Method in class atest.jmock.DynamicMockExample.Agent
buyStock(String, int) - Method in interface atest.jmock.DynamicMockExample.Market

## C

CascadedFailuresAcceptanceTest - Class in atest.jmock
CascadedFailuresAcceptanceTest() - Constructor for class atest.jmock.CascadedFailuresAcceptanceTest
CascadedFailuresAcceptanceTest.MockedType - Interface in atest.jmock
CascadedFailuresAcceptanceTest.ObjectUnderTest - Class in atest.jmock
CascadedFailuresAcceptanceTest.ObjectUnderTest(CascadedFailuresAcceptanceTest.MockedType) - Constructor for class atest.jmock.CascadedFailuresAcceptanceTest.ObjectUnderTest
CGLIBCoreMock - Class in org.jmock.cglib
CGLIBCoreMock(Class, String) - Constructor for class org.jmock.cglib.CGLIBCoreMock
CGLIBCoreMock(Class, String, Class[], Object[]) - Constructor for class org.jmock.cglib.CGLIBCoreMock
CGLIBCoreMock(Class, String, InvocationDispatcher) - Constructor for class org.jmock.cglib.CGLIBCoreMock
CGLIBCoreMock(Class, String, Class[], Object[], InvocationDispatcher) - Constructor for class org.jmock.cglib.CGLIBCoreMock
checkImmediateValues(Object) - Method in class org.jmock.expectation.AbstractExpectationCollection
checkImmediateValues(Object) - Method in class org.jmock.expectation.ExpectationList
checkImmediateValues(Object) - Method in class org.jmock.expectation.ExpectationSet
checkReturnTypeCompatibility(Object) - Method in class org.jmock.core.Invocation
ClassLoaderAcceptanceTest - Class in atest.jmock
ClassLoaderAcceptanceTest() - Constructor for class atest.jmock.ClassLoaderAcceptanceTest
classShortName(Class) - Static method in class org.jmock.core.Formatting
clear() - Method in class org.jmock.core.AbstractInvocationDispatcher
clear() - Method in interface org.jmock.core.InvocationDispatcher
clearActual() - Method in class org.jmock.expectation.AbstractExpectation
clearActual() - Method in class org.jmock.expectation.AbstractExpectationCollection
clearActual() - Method in class org.jmock.expectation.ExpectationCounter
clearActual() - Method in class org.jmock.expectation.ExpectationDoubleValue
clearActual() - Method in class org.jmock.expectation.ExpectationSegment
clearActual() - Method in class org.jmock.expectation.ExpectationValue
clearExpectation() - Method in class org.jmock.expectation.AbstractExpectationCollection
collectionContaining(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
collectionContaining(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
CollectionsAcceptanceTest - Class in atest.jmock
CollectionsAcceptanceTest() - Constructor for class atest.jmock.CollectionsAcceptanceTest
CollectionsAcceptanceTest.T - Interface in atest.jmock
compatibleType(Class) - Method in class org.jmock.core.MockObjectSupportTestCase
ConsecutiveCallsAcceptanceTest - Class in atest.jmock
ConsecutiveCallsAcceptanceTest() - Constructor for class atest.jmock.ConsecutiveCallsAcceptanceTest
ConsecutiveCallsAcceptanceTest.Greeter - Interface in atest.jmock
Constraint - Interface in org.jmock.core
  A constraint over acceptable values.
contains(String) - Method in class org.jmock.core.MockObjectSupportTestCase
CoreMock - Class in org.jmock.core
CoreMock(Class, String) - Constructor for class org.jmock.core.CoreMock
CoreMock(Class, String, InvocationDispatcher) - Constructor for class org.jmock.core.CoreMock
count() - Method in interface atest.jmock.OrderedInvocationsAcceptanceTest.ExampleInterface
createDefaultResults() - Method in class org.jmock.core.stub.DefaultResultStub
createErrorMessage(Invocation) - Method in class org.jmock.core.stub.DefaultResultStub
CustomStub - Class in org.jmock.core.stub
  A partial implementation of the Stub interface that makes it convenient to implement application-specific stubs with inline anonymous classes:
CustomStub(String) - Constructor for class org.jmock.core.stub.CustomStub

## D

DEFAULT_DESCRIBER - Static variable in class org.jmock.core.InvocationMocker
DEFAULT_DESCRIPTION - Static variable in class org.jmock.expectation.Null
  The default description for all `Null` objects.
defaultMockNameForType(Class) - Method in class org.jmock.MockObjectTestCase
  Calculates
DefaultResultStub - Class in org.jmock.core.stub
DefaultResultStub() - Constructor for class org.jmock.core.stub.DefaultResultStub
defaultStub - Variable in class org.jmock.core.AbstractInvocationDispatcher
describeTo(StringBuffer) - Method in class atest.jmock.DoAllAcceptanceTest.AddElementStub
describeTo(StringBuffer, List, Stub, String) - Method in class org.jmock.builder.InvocationMockerDescriber
describeTo(StringBuffer) - Method in class org.jmock.core.AbstractInvocationDispatcher
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.And
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.HasProperty
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.HasPropertyWithValue
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.HasToString
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsAnything
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsArrayContaining
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsCloseTo
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsCollectionContaining
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsCompatibleType
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsEqual
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsEventFrom
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsGreaterThan
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsIn
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsInstanceOf
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsLessThan
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsMapContaining
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsNot
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsNothing
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsNull
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsSame
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.Or
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.SubstringConstraint
describeTo(StringBuffer) - Method in class org.jmock.core.Invocation
describeTo(StringBuffer, List, Stub, String) - Method in interface org.jmock.core.InvocationMocker.Describer
describeTo(StringBuffer) - Method in class org.jmock.core.InvocationMocker
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.AnyArgumentsMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.ArgumentsMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokeAtMostOnceMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokeCountMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokedAfterMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokedRecorder
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokeOnceMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.MethodNameMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.NoArgumentsMatcher
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.TestFailureMatcher
describeTo(StringBuffer) - Method in interface org.jmock.core.SelfDescribing
  Appends the description of this object to the buffer.
describeTo(StringBuffer) - Method in class org.jmock.core.stub.CustomStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.DefaultResultStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.DoAllStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.ReturnIteratorStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.ReturnStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.StubSequence
describeTo(StringBuffer) - Method in class org.jmock.core.stub.TestFailureStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.ThrowStub
describeTo(StringBuffer) - Method in class org.jmock.core.stub.VoidStub
dispatch(Invocation) - Method in class org.jmock.core.AbstractInvocationDispatcher
dispatch(Invocation) - Method in interface org.jmock.core.InvocationDispatcher
dispatcher - Variable in error org.jmock.core.DynamicMockError
dispatchOrder(List) - Method in class org.jmock.core.AbstractInvocationDispatcher
dispatchOrder(List) - Method in class org.jmock.core.FIFOInvocationDispatcher
dispatchOrder(List) - Method in class org.jmock.core.LIFOInvocationDispatcher
doAll(Stub, Stub) - Method in class org.jmock.MockObjectTestCase
doAll(Stub, Stub, Stub) - Method in class org.jmock.MockObjectTestCase
doAll(Stub, Stub, Stub, Stub) - Method in class org.jmock.MockObjectTestCase
doAll(Stub[]) - Method in class org.jmock.MockObjectTestCase
DoAllAcceptanceTest - Class in atest.jmock
DoAllAcceptanceTest() - Constructor for class atest.jmock.DoAllAcceptanceTest
DoAllAcceptanceTest.AddElementStub - Class in atest.jmock
DoAllAcceptanceTest.AddElementStub(String) - Constructor for class atest.jmock.DoAllAcceptanceTest.AddElementStub
DoAllAcceptanceTest.Collector - Interface in atest.jmock
DoAllStub - Class in org.jmock.core.stub
DoAllStub(Stub[]) - Constructor for class org.jmock.core.stub.DoAllStub
doSomething() - Method in class atest.jmock.cglib.DummyOfClassAcceptanceTest.MockedType
doSomething() - Method in class atest.jmock.cglib.OverriddenToStringAcceptanceTest.ClassThatOverridesToString
doSomethingWith(String, String) - Method in interface atest.jmock.IsNullAcceptanceTest.MockedType
Dummy - Class in org.jmock.util
  Deprecated. Use MockObjectTestCase.newDummy instead
DummyOfClassAcceptanceTest - Class in atest.jmock.cglib
DummyOfClassAcceptanceTest() - Constructor for class atest.jmock.cglib.DummyOfClassAcceptanceTest
DummyOfClassAcceptanceTest.MockedType - Class in atest.jmock.cglib
DummyOfClassAcceptanceTest.MockedType() - Constructor for class atest.jmock.cglib.DummyOfClassAcceptanceTest.MockedType
DynamicMock - Interface in org.jmock.core
dynamicMock - Variable in error org.jmock.core.DynamicMockError
DynamicMockError - Error in org.jmock.core
DynamicMockError(DynamicMock, Invocation, InvocationDispatcher, String) - Constructor for error org.jmock.core.DynamicMockError
DynamicMockExample - Class in atest.jmock
DynamicMockExample() - Constructor for class atest.jmock.DynamicMockExample
DynamicMockExample.Agent - Class in atest.jmock
DynamicMockExample.Agent(DynamicMockExample.Market) - Constructor for class atest.jmock.DynamicMockExample.Agent
DynamicMockExample.Market - Interface in atest.jmock

## E

endsWith(String) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(boolean) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(byte) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(short) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(char) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(int) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(long) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(float) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(double) - Method in class org.jmock.core.MockObjectSupportTestCase
eq(double, double) - Method in class org.jmock.core.MockObjectSupportTestCase
equals(Object) - Method in class org.jmock.core.Invocation
equals(Invocation) - Method in class org.jmock.core.Invocation
equals(Object) - Method in class org.jmock.expectation.MapEntry
equals(Object) - Method in class org.jmock.expectation.Null
  Determines equality between two objects.
ErrorDetectionAcceptanceTest - Class in atest.jmock.cglib
ErrorDetectionAcceptanceTest() - Constructor for class atest.jmock.cglib.ErrorDetectionAcceptanceTest
ErrorDetectionAcceptanceTest.NonStaticInnerClass - Class in atest.jmock.cglib
ErrorDetectionAcceptanceTest.NonStaticInnerClass() - Constructor for class atest.jmock.cglib.ErrorDetectionAcceptanceTest.NonStaticInnerClass
ErrorMessagesAcceptanceTest - Class in atest.jmock
ErrorMessagesAcceptanceTest() - Constructor for class atest.jmock.ErrorMessagesAcceptanceTest
eval(Object) - Method in class org.jmock.core.constraint.And
eval(Object) - Method in interface org.jmock.core.Constraint
  Evaluates the constraint for argument o.
eval(Object) - Method in class org.jmock.core.constraint.HasProperty
eval(Object) - Method in class org.jmock.core.constraint.HasPropertyWithValue
eval(Object) - Method in class org.jmock.core.constraint.HasToString
eval(Object) - Method in class org.jmock.core.constraint.IsAnything
eval(Object) - Method in class org.jmock.core.constraint.IsArrayContaining
eval(Object) - Method in class org.jmock.core.constraint.IsCloseTo
eval(Object) - Method in class org.jmock.core.constraint.IsCollectionContaining
eval(Object) - Method in class org.jmock.core.constraint.IsCompatibleType
eval(Object) - Method in class org.jmock.core.constraint.IsEqual
eval(Object) - Method in class org.jmock.core.constraint.IsEventFrom
eval(Object) - Method in class org.jmock.core.constraint.IsGreaterThan
eval(Object) - Method in class org.jmock.core.constraint.IsIn
eval(Object) - Method in class org.jmock.core.constraint.IsInstanceOf
eval(Object) - Method in class org.jmock.core.constraint.IsLessThan
eval(Object) - Method in class org.jmock.core.constraint.IsMapContaining
eval(Object) - Method in class org.jmock.core.constraint.IsNot
eval(Object) - Method in class org.jmock.core.constraint.IsNothing
eval(Object) - Method in class org.jmock.core.constraint.IsNull
eval(Object) - Method in class org.jmock.core.constraint.IsSame
eval(Object) - Method in class org.jmock.core.constraint.Or
eval(Object) - Method in class org.jmock.core.constraint.SubstringConstraint
evalSubstringOf(String) - Method in class org.jmock.core.constraint.StringContains
evalSubstringOf(String) - Method in class org.jmock.core.constraint.StringEndsWith
evalSubstringOf(String) - Method in class org.jmock.core.constraint.StringStartsWith
evalSubstringOf(String) - Method in class org.jmock.core.constraint.SubstringConstraint
exactly(int) - Method in class org.jmock.MockObjectTestCase
ExceptionalReturnValue - Class in org.jmock.expectation
  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.
ExceptionalReturnValue(Throwable) - Constructor for class org.jmock.expectation.ExceptionalReturnValue
expect(InvocationMatcher) - Method in class org.jmock.builder.InvocationMockerBuilder
Expectation - Interface in org.jmock.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 - Interface in org.jmock.expectation
  An ExpectationCollection is an expectation that supports multiple values, such as lists and sets.
ExpectationCounter - Class in org.jmock.expectation
ExpectationCounter(String) - Constructor for class org.jmock.expectation.ExpectationCounter
ExpectationDoubleValue - Class in org.jmock.expectation
ExpectationDoubleValue(String) - Constructor for class org.jmock.expectation.ExpectationDoubleValue
ExpectationList - Class in org.jmock.expectation
ExpectationList(String) - Constructor for class org.jmock.expectation.ExpectationList
ExpectationMap - Class in org.jmock.expectation
ExpectationMap(String) - Constructor for class org.jmock.expectation.ExpectationMap
ExpectationSegment - Class in org.jmock.expectation
ExpectationSegment(String) - Constructor for class org.jmock.expectation.ExpectationSegment
ExpectationSet - Class in org.jmock.expectation
ExpectationSet(String) - Constructor for class org.jmock.expectation.ExpectationSet
ExpectationValue - Class in org.jmock.expectation
ExpectationValue(String) - Constructor for class org.jmock.expectation.ExpectationValue
ExpectNeverAcceptanceTest - Class in atest.jmock
ExpectNeverAcceptanceTest() - Constructor for class atest.jmock.ExpectNeverAcceptanceTest
expects(InvocationMatcher) - Method in class org.jmock.Mock

## F

f(int) - Method in interface atest.jmock.CascadedFailuresAcceptanceTest.MockedType
fail(String) - Method in class org.jmock.expectation.MockObject
failNotEquals(String, Object, Object) - Static method in class org.jmock.expectation.AssertMo
FIFOInvocationDispatcher - Class in org.jmock.core
FIFOInvocationDispatcher() - Constructor for class org.jmock.core.FIFOInvocationDispatcher
Formatting - Class in org.jmock.core
Formatting() - Constructor for class org.jmock.core.Formatting

## G

g() - Method in interface atest.jmock.CascadedFailuresAcceptanceTest.MockedType
get(Object) - Method in class org.jmock.expectation.ExpectationMap
getActualCollection() - Method in class org.jmock.expectation.AbstractExpectationCollection
getActualCollection() - Method in class org.jmock.expectation.ExpectationList
getActualCollection() - Method in class org.jmock.expectation.ExpectationSet
getBooleanValue(String) - Method in class org.jmock.expectation.ReturnObjectMap
getBooleanValue() - Method in class org.jmock.expectation.ReturnValue
getException() - Method in class org.jmock.expectation.ExceptionalReturnValue
getExpectedCollection() - Method in class org.jmock.expectation.AbstractExpectationCollection
getExpectedCollection() - Method in class org.jmock.expectation.ExpectationList
getExpectedCollection() - Method in class org.jmock.expectation.ExpectationSet
getHashTable() - Method in class org.jmock.expectation.ReturnObjectBag
getIntValue(Object) - Method in class org.jmock.expectation.ReturnObjectMap
getIntValue() - Method in class org.jmock.expectation.ReturnValue
getInvocationCount() - Method in class org.jmock.core.matcher.InvokedRecorder
getKey() - Method in class org.jmock.expectation.MapEntry
getLongValue() - Method in class org.jmock.expectation.ReturnValue
getMessage() - Method in error org.jmock.core.DynamicMockError
getMockedType() - Method in class org.jmock.core.AbstractDynamicMock
getMockedType() - Method in interface org.jmock.core.DynamicMock
getMockedType() - Method in class org.jmock.Mock
getMockName() - Method in class org.jmock.core.AbstractDynamicMock
getNext() - Method in class org.jmock.expectation.ReturnValues
getNext() - Method in class org.jmock.expectation.VoidReturnValues
getNextReturnBoolean(Object) - Method in class org.jmock.expectation.ReturnObjectBag
getNextReturnInt(Object) - Method in class org.jmock.expectation.ReturnObjectBag
getNextReturnObject(Object) - Method in class org.jmock.expectation.ReturnObjectBag
  Returns the next object in the ReturnObjectList for a given key.
getNextReturnObject(int) - Method in class org.jmock.expectation.ReturnObjectBag
  Returns the next object in the ReturnObjectList for a given int key.
getPrice(String) - Method in interface atest.jmock.DynamicMockExample.Market
getPropertyDescriptor(String, Object) - Static method in class org.jmock.util.PropertyUtil
  Returns the description of the property with the provided name on the provided object's interface.
getValue() - Method in class org.jmock.expectation.MapEntry
getValue(Object) - Method in class org.jmock.expectation.ReturnObjectMap
getValue(short) - Method in class org.jmock.expectation.ReturnObjectMap
getValue() - Method in class org.jmock.expectation.ReturnValue
goodbye() - Method in interface atest.jmock.OrderedInvocationsAcceptanceTest.ExampleInterface
greeting() - Method in interface atest.jmock.ConsecutiveCallsAcceptanceTest.Greeter

## H

hasBeenInvoked() - Method in class org.jmock.core.matcher.InvokedRecorder
hasDescription() - Method in class org.jmock.builder.InvocationMockerDescriber
hasDescription() - Method in interface org.jmock.core.InvocationMatcher
hasDescription() - Method in interface org.jmock.core.InvocationMocker.Describer
hasDescription() - Method in class org.jmock.core.InvocationMocker
hasDescription() - Method in interface org.jmock.core.Invokable
hasDescription() - Method in class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
hasDescription() - Method in class org.jmock.core.matcher.InvokeAtMostOnceMatcher
hasDescription() - Method in class org.jmock.core.matcher.InvokeCountMatcher
hasDescription() - Method in class org.jmock.core.matcher.InvokedRecorder
hasDescription() - Method in class org.jmock.core.matcher.InvokeOnceMatcher
hasDescription() - Method in class org.jmock.core.matcher.StatelessInvocationMatcher
hasDescription() - Method in class org.jmock.core.matcher.TestFailureMatcher
hasExpectations() - Method in class org.jmock.expectation.AbstractExpectation
hasExpectations() - Method in interface org.jmock.expectation.Expectation
  Return true if any expectations have been set on this object.
hasExpectations() - Method in class org.jmock.expectation.ExpectationMap
hashCode() - Method in class org.jmock.core.Invocation
hashCode() - Method in class org.jmock.expectation.MapEntry
hashCode() - Method in class org.jmock.expectation.Null
  Returns this `Null` object's hashCode.
HasProperty - Class in org.jmock.core.constraint
  Constraint that checks that an object has a JavaBean property with the specified name.
HasProperty(String) - Constructor for class org.jmock.core.constraint.HasProperty
hasProperty(String, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
hasProperty(String) - Method in class org.jmock.core.MockObjectSupportTestCase
HasPropertyWithValue - Class in org.jmock.core.constraint
  Constraint that asserts that a JavaBean property on an argument passed to the mock object meets the provided constraint.
HasPropertyWithValue(String, Constraint) - Constructor for class org.jmock.core.constraint.HasPropertyWithValue
HasToString - Class in org.jmock.core.constraint
HasToString(Constraint) - Constructor for class org.jmock.core.constraint.HasToString
hello() - Method in interface atest.jmock.OrderedInvocationsAcceptanceTest.ExampleInterface

## I

id(String) - Method in interface org.jmock.builder.IdentityBuilder
id(String) - Method in class org.jmock.builder.InvocationMockerBuilder
IdentityBuilder - Interface in org.jmock.builder
inc() - Method in class org.jmock.expectation.ExpectationCounter
INSTANCE - Static variable in class org.jmock.core.constraint.IsAnything
INSTANCE - Static variable in class org.jmock.core.constraint.IsNothing
INSTANCE - Static variable in class org.jmock.core.matcher.AnyArgumentsMatcher
INSTANCE - Static variable in class org.jmock.core.matcher.NoArgumentsMatcher
INSTANCE - Static variable in class org.jmock.core.stub.VoidStub
intercept(Object, Method, Object[], MethodProxy) - Method in class org.jmock.cglib.CGLIBCoreMock
invocation - Variable in error org.jmock.core.DynamicMockError
Invocation - Class in org.jmock.core
  The static details about a method and the run-time details of its invocation.
Invocation(Object, Method, Object[]) - Constructor for class org.jmock.core.Invocation
InvocationDispatcher - Interface in org.jmock.core
InvocationMatcher - Interface in org.jmock.core
InvocationMocker - Class in org.jmock.core
InvocationMocker() - Constructor for class org.jmock.core.InvocationMocker
InvocationMocker(InvocationMocker.Describer) - Constructor for class org.jmock.core.InvocationMocker
InvocationMocker.Describer - Interface in org.jmock.core
InvocationMockerBuilder - Class in org.jmock.builder
InvocationMockerBuilder(StubMatchersCollection, BuilderNamespace, Class) - Constructor for class org.jmock.builder.InvocationMockerBuilder
InvocationMockerDescriber - Class in org.jmock.builder
InvocationMockerDescriber() - Constructor for class org.jmock.builder.InvocationMockerDescriber
Invokable - Interface in org.jmock.core
invokables - Variable in class org.jmock.core.AbstractInvocationDispatcher
invoke(Invocation) - Method in class atest.jmock.DoAllAcceptanceTest.AddElementStub
invoke(Object, Method, Object[]) - Method in class org.jmock.core.CoreMock
invoke(Invocation) - Method in class org.jmock.core.InvocationMocker
invoke(Invocation) - Method in interface org.jmock.core.Invokable
invoke(Invocation) - Method in class org.jmock.core.stub.DefaultResultStub
invoke(Invocation) - Method in class org.jmock.core.stub.DoAllStub
invoke(Invocation) - Method in interface org.jmock.core.Stub
  Processes the invocation.
invoke(Invocation) - Method in class org.jmock.core.stub.ReturnIteratorStub
invoke(Invocation) - Method in class org.jmock.core.stub.ReturnStub
invoke(Invocation) - Method in class org.jmock.core.stub.StubSequence
invoke(Invocation) - Method in class org.jmock.core.stub.TestFailureStub
invoke(Invocation) - Method in class org.jmock.core.stub.ThrowStub
invoke(Invocation) - Method in class org.jmock.core.stub.VoidStub
InvokeAtLeastOnceMatcher - Class in org.jmock.core.matcher
InvokeAtLeastOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
InvokeAtMostOnceAcceptanceTest - Class in atest.jmock
InvokeAtMostOnceAcceptanceTest() - Constructor for class atest.jmock.InvokeAtMostOnceAcceptanceTest
InvokeAtMostOnceAcceptanceTest.MockedType - Interface in atest.jmock
InvokeAtMostOnceMatcher - Class in org.jmock.core.matcher
InvokeAtMostOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeAtMostOnceMatcher
InvokeCountMatcher - Class in org.jmock.core.matcher
InvokeCountMatcher(int) - Constructor for class org.jmock.core.matcher.InvokeCountMatcher
invoked(Invocation) - Method in interface org.jmock.core.InvocationMatcher
invoked(Invocation) - Method in class org.jmock.core.matcher.InvokedAfterMatcher
invoked(Invocation) - Method in class org.jmock.core.matcher.InvokedRecorder
invoked(Invocation) - Method in class org.jmock.core.matcher.StatelessInvocationMatcher
invoked(Invocation) - Method in class org.jmock.core.matcher.TestFailureMatcher
InvokedAfterMatcher - Class in org.jmock.core.matcher
InvokedAfterMatcher(InvokedRecorder, String) - Constructor for class org.jmock.core.matcher.InvokedAfterMatcher
InvokedExactCountAcceptanceTest - Class in atest.jmock
InvokedExactCountAcceptanceTest() - Constructor for class atest.jmock.InvokedExactCountAcceptanceTest
invokedMethod - Variable in class org.jmock.core.Invocation
invokedObject - Variable in class org.jmock.core.Invocation
InvokedRecorder - Class in org.jmock.core.matcher
InvokedRecorder() - Constructor for class org.jmock.core.matcher.InvokedRecorder
InvokeOnceMatcher - Class in org.jmock.core.matcher
InvokeOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeOnceMatcher
isA(Class) - Method in class org.jmock.core.MockObjectSupportTestCase
IsAnything - Class in org.jmock.core.constraint
  A constraint that always returns `true`.
IsAnything() - Constructor for class org.jmock.core.constraint.IsAnything
IsAnything(String) - Constructor for class org.jmock.core.constraint.IsAnything
IsArrayContaining - Class in org.jmock.core.constraint
IsArrayContaining(Constraint) - Constructor for class org.jmock.core.constraint.IsArrayContaining
IsCloseTo - Class in org.jmock.core.constraint
  Is the value a number equal to a value within some range of acceptable error?
IsCloseTo(double, double) - Constructor for class org.jmock.core.constraint.IsCloseTo
IsCollectionContaining - Class in org.jmock.core.constraint
IsCollectionContaining(Constraint) - Constructor for class org.jmock.core.constraint.IsCollectionContaining
IsCompatibleType - Class in org.jmock.core.constraint
IsCompatibleType(Class) - Constructor for class org.jmock.core.constraint.IsCompatibleType
isEmpty() - Method in class org.jmock.expectation.ReturnValues
IsEqual - Class in org.jmock.core.constraint
  Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` invokedMethod?
IsEqual(Object) - Constructor for class org.jmock.core.constraint.IsEqual
IsEventFrom - Class in org.jmock.core.constraint
  Tests if the value is an event announced by a specific object.
IsEventFrom(Object) - Constructor for class org.jmock.core.constraint.IsEventFrom
  Constructs an IsEventFrom predicate that returns true for any object derived from `EventObject`announced by source .
IsEventFrom(Class, Object) - Constructor for class org.jmock.core.constraint.IsEventFrom
  Constructs an IsEventFrom predicate that returns true for any object derived from event_class announced by source.
IsGreaterThan - Class in org.jmock.core.constraint
  Is the value greater than another `Comparable` value?
IsGreaterThan(Comparable) - Constructor for class org.jmock.core.constraint.IsGreaterThan
IsIn - Class in org.jmock.core.constraint
IsIn(Collection) - Constructor for class org.jmock.core.constraint.IsIn
IsIn(Object[]) - Constructor for class org.jmock.core.constraint.IsIn
isIn(Collection) - Method in class org.jmock.core.MockObjectSupportTestCase
isIn(Object[]) - Method in class org.jmock.core.MockObjectSupportTestCase
IsInstanceOf - Class in org.jmock.core.constraint
  Tests whether the value is an instance of a class.
IsInstanceOf(Class) - Constructor for class org.jmock.core.constraint.IsInstanceOf
  Creates a new instance of IsInstanceOf
IsLessThan - Class in org.jmock.core.constraint
  Is the value less than another `Comparable` value?
IsLessThan(Comparable) - Constructor for class org.jmock.core.constraint.IsLessThan
IsMapContaining - Class in org.jmock.core.constraint
IsMapContaining(Constraint, Constraint) - Constructor for class org.jmock.core.constraint.IsMapContaining
IsNot - Class in org.jmock.core.constraint
  Calculates the logical negation of a constraint.
IsNot(Constraint) - Constructor for class org.jmock.core.constraint.IsNot
IsNothing - Class in org.jmock.core.constraint
IsNothing() - Constructor for class org.jmock.core.constraint.IsNothing
IsNothing(String) - Constructor for class org.jmock.core.constraint.IsNothing
IsNull - Class in org.jmock.core.constraint
  Is the value null?
IsNull() - Constructor for class org.jmock.core.constraint.IsNull
IsNullAcceptanceTest - Class in atest.jmock
IsNullAcceptanceTest() - Constructor for class atest.jmock.IsNullAcceptanceTest
IsNullAcceptanceTest.MockedType - Interface in atest.jmock
IsSame - Class in org.jmock.core.constraint
  Is the value the same object as another value?
IsSame(Object) - Constructor for class org.jmock.core.constraint.IsSame
  Creates a new instance of IsSame
isVoid() - Method in class org.jmock.builder.InvocationMockerBuilder
isVoid() - Method in interface org.jmock.builder.StubBuilder

## J

join(Object, StringBuffer) - Static method in class org.jmock.core.Formatting
join(Collection, StringBuffer, String, String) - Static method in class org.jmock.core.Formatting
join(Collection, StringBuffer, String, String, String) - Static method in class org.jmock.core.Formatting
join(Object, StringBuffer, String, String) - Static method in class org.jmock.core.Formatting
join(Object, StringBuffer, String, String, String) - Static method in class org.jmock.core.Formatting

## L

LIFOInvocationDispatcher - Class in org.jmock.core
LIFOInvocationDispatcher() - Constructor for class org.jmock.core.LIFOInvocationDispatcher
listStocks() - Method in interface atest.jmock.DynamicMockExample.Market
lookupID(String) - Method in interface org.jmock.builder.BuilderNamespace
lookupID(String) - Method in class org.jmock.Mock

## M

m() - Method in interface atest.jmock.InvokeAtMostOnceAcceptanceTest.MockedType
mapContaining(Constraint, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
mapContaining(Object, Object) - Method in class org.jmock.core.MockObjectSupportTestCase
MapEntry - Class in org.jmock.expectation
  A public MapEntry data type that can be used where the Map.Entry interface is required (needed because the Sun implementation is package protected)
MapEntry(Object, Object) - Constructor for class org.jmock.expectation.MapEntry
mapWithKey(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
mapWithKey(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
mapWithValue(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
mapWithValue(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
match(InvocationMatcher) - Method in class org.jmock.builder.InvocationMockerBuilder
match(InvocationMatcher) - Method in interface org.jmock.builder.MatchBuilder
MatchBuilder - Interface in org.jmock.builder
matches(Invocation) - Method in interface org.jmock.core.InvocationMatcher
matches(Invocation) - Method in class org.jmock.core.InvocationMocker
matches(Invocation) - Method in interface org.jmock.core.Invokable
matches(Invocation) - Method in class org.jmock.core.matcher.AnyArgumentsMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.ArgumentsMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.InvokeAtMostOnceMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.InvokeCountMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.InvokedAfterMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.InvokedRecorder
matches(Invocation) - Method in class org.jmock.core.matcher.InvokeOnceMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.MethodNameMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.NoArgumentsMatcher
matches(Invocation) - Method in class org.jmock.core.matcher.TestFailureMatcher
method(Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
method(String) - Method in class org.jmock.builder.InvocationMockerBuilder
method(String) - Method in interface org.jmock.builder.NameMatchBuilder
method(Constraint) - Method in interface org.jmock.builder.NameMatchBuilder
MethodNameMatcher - Class in org.jmock.core.matcher
MethodNameMatcher(Constraint) - Constructor for class org.jmock.core.matcher.MethodNameMatcher
MethodNameMatcher(String) - Constructor for class org.jmock.core.matcher.MethodNameMatcher
methodUnderTest(int) - Method in class atest.jmock.CascadedFailuresAcceptanceTest.ObjectUnderTest
mock(Class, String, Class[], Object[]) - Method in class org.jmock.cglib.MockObjectTestCase
mock(Class, Class[], Object[]) - Method in class org.jmock.cglib.MockObjectTestCase
Mock - Class in org.jmock
Mock(Class) - Constructor for class org.jmock.Mock
Mock(Class, String) - Constructor for class org.jmock.Mock
Mock(DynamicMock) - Constructor for class org.jmock.Mock
mock(Class) - Method in class org.jmock.MockObjectTestCase
  Creates a mock object that mocks the given type.
mock(Class, String) - Method in class org.jmock.MockObjectTestCase
  Creates a mock object that mocks the given type and is explicitly given a name.
MockConcreteClassAcceptanceTest - Class in atest.jmock.cglib
MockConcreteClassAcceptanceTest() - Constructor for class atest.jmock.cglib.MockConcreteClassAcceptanceTest
MockConcreteClassAcceptanceTest.ClassWithComplexConstructor - Class in atest.jmock.cglib
MockConcreteClassAcceptanceTest.ClassWithComplexConstructor() - Constructor for class atest.jmock.cglib.MockConcreteClassAcceptanceTest.ClassWithComplexConstructor
MockConcreteClassAcceptanceTest.ClassWithConstructorArguments - Class in atest.jmock.cglib
MockConcreteClassAcceptanceTest.ClassWithConstructorArguments(int, String) - Constructor for class atest.jmock.cglib.MockConcreteClassAcceptanceTest.ClassWithConstructorArguments
mockedMethod() - Method in class atest.jmock.cglib.MockConcreteClassAcceptanceTest.ClassWithComplexConstructor
mockedMethod() - Method in class atest.jmock.cglib.MockConcreteClassAcceptanceTest.ClassWithConstructorArguments
mockInvocation(Invocation) - Method in class org.jmock.core.AbstractDynamicMock
mockNameFromClass(Class) - Static method in class org.jmock.core.AbstractDynamicMock
MockObject - Class in org.jmock.expectation
MockObject() - Constructor for class org.jmock.expectation.MockObject
MockObjectSupportTestCase - Class in org.jmock.core
MockObjectSupportTestCase() - Constructor for class org.jmock.core.MockObjectSupportTestCase
MockObjectSupportTestCase(String) - Constructor for class org.jmock.core.MockObjectSupportTestCase
MockObjectTestCase - Class in org.jmock.cglib
MockObjectTestCase(String) - Constructor for class org.jmock.cglib.MockObjectTestCase
MockObjectTestCase() - Constructor for class org.jmock.cglib.MockObjectTestCase
MockObjectTestCase - Class in org.jmock
  A base class for tests that use Mock Objects.
MockObjectTestCase() - Constructor for class org.jmock.MockObjectTestCase
MockObjectTestCase(String) - Constructor for class org.jmock.MockObjectTestCase
moreTeaVicar() - Method in interface atest.jmock.OrderedInvocationsAcceptanceTest.ExampleInterface
myActualItems - Variable in class org.jmock.expectation.ExpectationList
myContents - Variable in class org.jmock.expectation.ReturnValues
myExpectedItems - Variable in class org.jmock.expectation.ExpectationList
myFailureModeIsImmediate - Variable in class org.jmock.expectation.AbstractExpectation
myName - Variable in class org.jmock.expectation.AbstractExpectation

## N

NameMatchBuilder - Interface in org.jmock.builder
never() - Method in class org.jmock.MockObjectTestCase
never(String) - Method in class org.jmock.MockObjectTestCase
newCoreMock(Class, String) - Method in class org.jmock.cglib.MockObjectTestCase
newCoreMock(Class, String, Class[], Object[]) - Method in class org.jmock.cglib.MockObjectTestCase
newCoreMock(Class, String) - Method in class org.jmock.MockObjectTestCase
newDummy(Class) - Method in class org.jmock.core.MockObjectSupportTestCase
  Deprecated. Use MockObjectTestCase.newDummy instead
newDummy(Class, String) - Method in class org.jmock.core.MockObjectSupportTestCase
  Deprecated. Use MockObjectTestCase.newDummy instead
newDummy(String) - Method in class org.jmock.core.MockObjectSupportTestCase
  Deprecated. Use MockObjectTestCase.newDummy instead
newDummy(Class) - Method in class org.jmock.MockObjectTestCase
newDummy(Class, String) - Method in class org.jmock.MockObjectTestCase
newDummy(String) - Method in class org.jmock.MockObjectTestCase
newDummy(Class) - Static method in class org.jmock.util.Dummy
  Deprecated.
newDummy(Class, String) - Static method in class org.jmock.util.Dummy
  Deprecated.
newDummy(String) - Static method in class org.jmock.util.Dummy
  Deprecated.
nextReturnObject() - Method in class org.jmock.expectation.ReturnObjectList
  Returns the next object from the list.
NO_EXPECTATIONS_MESSAGE - Static variable in class org.jmock.core.AbstractInvocationDispatcher
noArgsReturnsNothing() - Method in interface atest.jmock.Types.WithTwoMethods
NoArgumentsMatcher - Class in org.jmock.core.matcher
NoArgumentsMatcher() - Constructor for class org.jmock.core.matcher.NoArgumentsMatcher
not(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
NOT_NULL - Static variable in class org.jmock.core.MockObjectSupportTestCase
notImplemented(String) - Static method in class org.jmock.expectation.AssertMo
notImplemented() - Method in class org.jmock.expectation.MockObject
NotImplementedException - Exception in org.jmock.util
NotImplementedException() - Constructor for exception org.jmock.util.NotImplementedException
  NotImplementedException constructor comment.
NotImplementedException(String) - Constructor for exception org.jmock.util.NotImplementedException
  NotImplementedException constructor comment.
notYetImplemented() - Method in class org.jmock.expectation.MockObject
  Deprecated.
notYetImplemented(String) - Static method in class org.jmock.expectation.MockObject
  Deprecated.
NULL - Static variable in class org.jmock.core.MockObjectSupportTestCase
Null - Class in org.jmock.expectation
  A class that represents the `null` value.
Null() - Constructor for class org.jmock.expectation.Null
  Instantiates a new `Null` object with the default description.
Null(String) - Constructor for class org.jmock.expectation.Null
  Instantiates a new `Null` object and sets it's description.
NULL - Static variable in class org.jmock.expectation.Null
  A default `Null` object.

## O

once() - Method in class org.jmock.MockObjectTestCase
onConsecutiveCalls(Stub, Stub) - Method in class org.jmock.MockObjectTestCase
onConsecutiveCalls(Stub, Stub, Stub) - Method in class org.jmock.MockObjectTestCase
onConsecutiveCalls(Stub, Stub, Stub, Stub) - Method in class org.jmock.MockObjectTestCase
onConsecutiveCalls(Stub[]) - Method in class org.jmock.MockObjectTestCase
Or - Class in org.jmock.core.constraint
  Calculates the logical disjunction of two constraints.
Or(Constraint, Constraint) - Constructor for class org.jmock.core.constraint.Or
or(Constraint, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
OrderedInvocationsAcceptanceTest - Class in atest.jmock
OrderedInvocationsAcceptanceTest() - Constructor for class atest.jmock.OrderedInvocationsAcceptanceTest
OrderedInvocationsAcceptanceTest.ExampleInterface - Interface in atest.jmock
org.jmock - package org.jmock
org.jmock.builder - package org.jmock.builder
org.jmock.cglib - package org.jmock.cglib
org.jmock.core - package org.jmock.core
org.jmock.core.constraint - package org.jmock.core.constraint
  A collection of commonly useful constraints
org.jmock.core.matcher - package org.jmock.core.matcher
org.jmock.core.stub - package org.jmock.core.stub
org.jmock.expectation - package org.jmock.expectation
org.jmock.util - package org.jmock.util
OverriddenToStringAcceptanceTest - Class in atest.jmock.cglib
OverriddenToStringAcceptanceTest() - Constructor for class atest.jmock.cglib.OverriddenToStringAcceptanceTest
OverriddenToStringAcceptanceTest.ClassThatOverridesToString - Class in atest.jmock.cglib
OverriddenToStringAcceptanceTest.ClassThatOverridesToString() - Constructor for class atest.jmock.cglib.OverriddenToStringAcceptanceTest.ClassThatOverridesToString

## P

parameterValues - Variable in class org.jmock.core.Invocation
pop() - Method in class org.jmock.expectation.ReturnValues
PropertyUtil - Class in org.jmock.util
  Utility class for accessing properties on JavaBean objects.
PropertyUtil() - Constructor for class org.jmock.util.PropertyUtil
proxy() - Method in class org.jmock.cglib.CGLIBCoreMock
proxy() - Method in class org.jmock.core.AbstractDynamicMock
proxy() - Method in class org.jmock.core.CoreMock
proxy() - Method in interface org.jmock.core.DynamicMock
proxy() - Method in class org.jmock.Mock
putObjectToReturn(Object, Object) - Method in class org.jmock.expectation.ReturnObjectBag
  Places an object into the list of return objects for a particular key
putObjectToReturn(int, Object) - Method in class org.jmock.expectation.ReturnObjectBag
  Places an object into the list of return objects for a particular int key
putObjectToReturn(Object, int) - Method in class org.jmock.expectation.ReturnObjectBag
  Places an int into the list of return objects for a particular key.
putObjectToReturn(Object, boolean) - Method in class org.jmock.expectation.ReturnObjectBag
  Places an boolean into the list of return objects for a particular key.
putReturnValue(Object, Object) - Method in class org.jmock.expectation.ReturnObjectMap
putReturnValue(Object, int) - Method in class org.jmock.expectation.ReturnObjectMap
putReturnValue(short, Object) - Method in class org.jmock.expectation.ReturnObjectMap
putReturnValue(Object, boolean) - Method in class org.jmock.expectation.ReturnObjectMap

## R

registerMethodName(String, MatchBuilder) - Method in interface org.jmock.builder.BuilderNamespace
registerMethodName(String, MatchBuilder) - Method in class org.jmock.Mock
registerToVerify(Verifiable) - Method in class org.jmock.core.VerifyingTestCase
registerUniqueID(String, MatchBuilder) - Method in interface org.jmock.builder.BuilderNamespace
registerUniqueID(String, MatchBuilder) - Method in class org.jmock.Mock
relationship() - Method in class org.jmock.core.constraint.StringContains
relationship() - Method in class org.jmock.core.constraint.StringEndsWith
relationship() - Method in class org.jmock.core.constraint.StringStartsWith
relationship() - Method in class org.jmock.core.constraint.SubstringConstraint
reset() - Method in class org.jmock.core.AbstractDynamicMock
reset() - Method in interface org.jmock.core.DynamicMock
reset() - Method in class org.jmock.Mock
resultOfMockedMethodCalledInConstructor - Variable in class atest.jmock.cglib.MockConcreteClassAcceptanceTest.ClassWithComplexConstructor
returnBoolean() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnByte() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnChar() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnDouble() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnFloat() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnInt() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnIterator(Collection) - Method in class org.jmock.MockObjectTestCase
returnIterator(Object[]) - Method in class org.jmock.MockObjectTestCase
ReturnIteratorStub - Class in org.jmock.core.stub
ReturnIteratorStub(Collection) - Constructor for class org.jmock.core.stub.ReturnIteratorStub
ReturnIteratorStub(Object[]) - Constructor for class org.jmock.core.stub.ReturnIteratorStub
returnLong() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
ReturnObjectBag - Class in org.jmock.expectation
  The ReturnObjectBag is a map containing instances of ReturnObjectList.
ReturnObjectBag(String) - Constructor for class org.jmock.expectation.ReturnObjectBag
ReturnObjectList - Class in org.jmock.expectation
  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.
ReturnObjectList(String) - Constructor for class org.jmock.expectation.ReturnObjectList
  Construct a new empty list
ReturnObjectMap - Class in org.jmock.expectation
ReturnObjectMap(String) - Constructor for class org.jmock.expectation.ReturnObjectMap
returnShort() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
returnString() - Method in interface atest.jmock.ReturnTypeAcceptanceTest.ReturnTypes
ReturnStub - Class in org.jmock.core.stub
ReturnStub(Object) - Constructor for class org.jmock.core.stub.ReturnStub
ReturnTypeAcceptanceTest - Class in atest.jmock
ReturnTypeAcceptanceTest() - Constructor for class atest.jmock.ReturnTypeAcceptanceTest
ReturnTypeAcceptanceTest.ReturnTypes - Interface in atest.jmock
ReturnValue - Class in org.jmock.expectation
  The ReturnValue class allows a value to be setup which will then be returned upon a specific invokedMethod call.
ReturnValue(String) - Constructor for class org.jmock.expectation.ReturnValue
returnValue(Object) - Method in class org.jmock.MockObjectTestCase
returnValue(boolean) - Method in class org.jmock.MockObjectTestCase
returnValue(byte) - Method in class org.jmock.MockObjectTestCase
returnValue(char) - Method in class org.jmock.MockObjectTestCase
returnValue(short) - Method in class org.jmock.MockObjectTestCase
returnValue(int) - Method in class org.jmock.MockObjectTestCase
returnValue(long) - Method in class org.jmock.MockObjectTestCase
returnValue(float) - Method in class org.jmock.MockObjectTestCase
returnValue(double) - Method in class org.jmock.MockObjectTestCase
ReturnValues - Class in org.jmock.expectation
  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.
ReturnValues() - Constructor for class org.jmock.expectation.ReturnValues
ReturnValues(String, boolean) - Constructor for class org.jmock.expectation.ReturnValues
ReturnValues(boolean) - Constructor for class org.jmock.expectation.ReturnValues
runBare() - Method in class org.jmock.core.VerifyingTestCase

## S

same(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
SelfDescribing - Interface in org.jmock.core
  An object that can describe itself.
setActual(double) - Method in class org.jmock.expectation.ExpectationDoubleValue
setActual(String) - Method in class org.jmock.expectation.ExpectationSegment
setActual(int) - Method in class org.jmock.expectation.ExpectationValue
setActual(long) - Method in class org.jmock.expectation.ExpectationValue
setActual(double) - Method in class org.jmock.expectation.ExpectationValue
setActual(Object) - Method in class org.jmock.expectation.ExpectationValue
setActual(boolean) - Method in class org.jmock.expectation.ExpectationValue
setDefaultStub(Stub) - Method in class org.jmock.core.AbstractDynamicMock
setDefaultStub(Stub) - Method in class org.jmock.core.AbstractInvocationDispatcher
setDefaultStub(Stub) - Method in interface org.jmock.core.DynamicMock
setDefaultStub(Stub) - Method in interface org.jmock.core.InvocationDispatcher
setDefaultStub(Stub) - Method in class org.jmock.Mock
setExpected(int) - Method in class org.jmock.expectation.ExpectationCounter
setExpected(double, double) - Method in class org.jmock.expectation.ExpectationDoubleValue
setExpected(String) - Method in class org.jmock.expectation.ExpectationSegment
setExpected(int) - Method in class org.jmock.expectation.ExpectationValue
setExpected(long) - Method in class org.jmock.expectation.ExpectationValue
setExpected(double) - Method in class org.jmock.expectation.ExpectationValue
setExpected(Object) - Method in class org.jmock.expectation.ExpectationValue
setExpected(boolean) - Method in class org.jmock.expectation.ExpectationValue
setExpectNothing() - Method in class org.jmock.expectation.AbstractExpectationCollection
setExpectNothing() - Method in interface org.jmock.expectation.Expectation
  Tell the object to expect nothing to happen to it, perhaps because the test is exercising the handling of an error.
setExpectNothing() - Method in class org.jmock.expectation.ExpectationCounter
setExpectNothing() - Method in class org.jmock.expectation.ExpectationDoubleValue
setExpectNothing() - Method in class org.jmock.expectation.ExpectationMap
setExpectNothing() - Method in class org.jmock.expectation.ExpectationSegment
setExpectNothing() - Method in class org.jmock.expectation.ExpectationValue
setFailOnVerify() - Method in class org.jmock.expectation.AbstractExpectation
setFailOnVerify() - Method in interface org.jmock.expectation.Expectation
  If an incorrect actual value is set, defer reporting this as a failure until verify() is called on this object.
setFailOnVerify() - Method in class org.jmock.expectation.ExpectationMap
setHasExpectations() - Method in class org.jmock.expectation.AbstractExpectation
setName(String) - Method in class org.jmock.core.InvocationMocker
setName(String) - Method in interface org.jmock.core.StubMatchersCollection
setStub(Stub) - Method in class org.jmock.core.InvocationMocker
setStub(Stub) - Method in interface org.jmock.core.StubMatchersCollection
setUp() - Method in class atest.jmock.CascadedFailuresAcceptanceTest
setUp() - Method in class atest.jmock.InvokedExactCountAcceptanceTest
setUp() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
setUp() - Method in class atest.jmock.ReturnTypeAcceptanceTest
setValue(Object) - Method in class org.jmock.expectation.MapEntry
setValue(Object) - Method in class org.jmock.expectation.ReturnValue
setValue(boolean) - Method in class org.jmock.expectation.ReturnValue
setValue(int) - Method in class org.jmock.expectation.ReturnValue
setValue(long) - Method in class org.jmock.expectation.ReturnValue
shouldCheckImmediately() - Method in class org.jmock.expectation.AbstractExpectation
SignedJarAcceptanceTest - Class in atest.jmock.cglib
SignedJarAcceptanceTest() - Constructor for class atest.jmock.cglib.SignedJarAcceptanceTest
startsWith(String) - Method in class org.jmock.core.MockObjectSupportTestCase
StatelessInvocationMatcher - Class in org.jmock.core.matcher
StatelessInvocationMatcher() - Constructor for class org.jmock.core.matcher.StatelessInvocationMatcher
StringContains - Class in org.jmock.core.constraint
  Tests if the argument is a string that contains a substring.
StringContains(String) - Constructor for class org.jmock.core.constraint.StringContains
stringContains(String) - Method in class org.jmock.core.MockObjectSupportTestCase
StringEndsWith - Class in org.jmock.core.constraint
  Tests if the argument is a string that contains a substring.
StringEndsWith(String) - Constructor for class org.jmock.core.constraint.StringEndsWith
StringStartsWith - Class in org.jmock.core.constraint
  Tests if the argument is a string that contains a substring.
StringStartsWith(String) - Constructor for class org.jmock.core.constraint.StringStartsWith
Stub - Interface in org.jmock.core
  An object that stubs the behaviour of a invokedMethod invocation on behalf of an `Invokable` object.
StubBuilder - Interface in org.jmock.builder
StubMatchersCollection - Interface in org.jmock.core
stubs() - Method in class org.jmock.Mock
StubSequence - Class in org.jmock.core.stub
StubSequence(Stub[]) - Constructor for class org.jmock.core.stub.StubSequence
substring - Variable in class org.jmock.core.constraint.SubstringConstraint
SubstringConstraint - Class in org.jmock.core.constraint
SubstringConstraint(String) - Constructor for class org.jmock.core.constraint.SubstringConstraint

## T

testAllowsSameInvocationMultipleTimes() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testBuilderExample() - Method in class atest.jmock.DynamicMockExample
testCanCreateADummyOfAClassWithCGLIB() - Method in class atest.jmock.cglib.DummyOfClassAcceptanceTest
testCanEasilySpecifySequenceOfStubsForSameMethod() - Method in class atest.jmock.ConsecutiveCallsAcceptanceTest
testCanGenerateErrorMessageFromMockedClassThatOverridesToString() - Method in class atest.jmock.cglib.OverriddenToStringAcceptanceTest
testCanGiveExplicitNameToMockOfConcreteClassesWithConstructorArguments() - Method in class atest.jmock.cglib.MockConcreteClassAcceptanceTest
testCanMatchArrayContainingEqualElement() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchArrayContainingMatchingElement() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchCollectionContainingMatchingElement() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchElementOfArray() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchElementOfCollection() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchListContainingEqualElement() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchMapContainingEntryMatchingConstraints() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchMapContainingEntryValues() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchMapContainingEqualKey() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchMapContainingEqualValue() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchMapContainingMatchingKey() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchMapContainingMatchingValue() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMatchSetContainingEqualElement() - Method in class atest.jmock.CollectionsAcceptanceTest
testCanMockClassesWithComplexConstructors() - Method in class atest.jmock.cglib.MockConcreteClassAcceptanceTest
testCanMockClassThatOverridesToString() - Method in class atest.jmock.cglib.OverriddenToStringAcceptanceTest
testCanMockConcreteClasses() - Method in class atest.jmock.cglib.MockConcreteClassAcceptanceTest
testCanMockConcreteClassesWithConstructorArguments() - Method in class atest.jmock.cglib.MockConcreteClassAcceptanceTest
testCanMockTypesInSignedJars() - Method in class atest.jmock.cglib.SignedJarAcceptanceTest
testCanReturnBooleanValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnByteValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnCharValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnDoubleValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnFloatValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnIntValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnLongValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnNullObjectReferences() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnObjectReferences() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanReturnShortValues() - Method in class atest.jmock.ReturnTypeAcceptanceTest
testCanSpecifyMultipleStubsForOneInvocation() - Method in class atest.jmock.DoAllAcceptanceTest
testCanSpecifyOrderOverDifferentMocks() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testCanSpecifySequenceUsingArrayOfStubs() - Method in class atest.jmock.ConsecutiveCallsAcceptanceTest
testCanUseMethodNameAsDefaultInvocationID() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testCanUseTheNullKeywordInPlaceOfNULLConstraint() - Method in class atest.jmock.IsNullAcceptanceTest
testDetectsDuplicateIDs() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testDetectsMissingIDs() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testDetectsUnexpectedOrderOverDifferentMocks() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testExpectNeverCanExplicitlyDescribeError() - Method in class atest.jmock.ExpectNeverAcceptanceTest
testExpectNeverOverridesStubAndFailsIfCalled() - Method in class atest.jmock.ExpectNeverAcceptanceTest
testExpectNeverVerifiesIfNotCalled() - Method in class atest.jmock.ExpectNeverAcceptanceTest
testFailsIfMethodExpectedAtMostOnceIsCalledMoreThanOnce() - Method in class atest.jmock.InvokeAtMostOnceAcceptanceTest
testFailsWhenCalledFewerThanTheExactNumberOfTimes() - Method in class atest.jmock.InvokedExactCountAcceptanceTest
testFailsWhenCalledMoreThanTheExactNumberOfTimes() - Method in class atest.jmock.InvokedExactCountAcceptanceTest
TestFailureMatcher - Class in org.jmock.core.matcher
TestFailureMatcher(String) - Constructor for class org.jmock.core.matcher.TestFailureMatcher
TestFailureStub - Class in org.jmock.core.stub
TestFailureStub(String) - Constructor for class org.jmock.core.stub.TestFailureStub
testInvalidMethodNameCausesTestError() - Method in class atest.jmock.BadMethodNameAcceptanceTest
testMethodNameNotInMockedTypeCausesTestFailure() - Method in class atest.jmock.BadMethodNameAcceptanceTest
testMockingTypeFromOtherClassLoader() - Method in class atest.jmock.ClassLoaderAcceptanceTest
testMockReportsFirstFailure() - Method in class atest.jmock.CascadedFailuresAcceptanceTest
testOrderedCallsCanOccurInOrder() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testOrderedCallsMustNotOccurOutOfOrder() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testOrderingConstraintsDoNotImplyExpectedCall() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testOrderingDoesNotAffectUnrelatedCalls() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testPassesIfMethodExpectedAtMostOnceIsCalledOnceOnly() - Method in class atest.jmock.InvokeAtMostOnceAcceptanceTest
testPassesIfMethodExpectedAtMostOnceIsNotCalled() - Method in class atest.jmock.InvokeAtMostOnceAcceptanceTest
testPassesWhenCalledTheExactNumberOfTimes() - Method in class atest.jmock.InvokedExactCountAcceptanceTest
testReportsFailureWhenStubReturnsWrongTypeOfResult() - Method in class atest.jmock.ErrorMessagesAcceptanceTest
testReportsFailureWhenStubReturnValueIsNotSet() - Method in class atest.jmock.ErrorMessagesAcceptanceTest
testReportsUsefulErrorMessageWhenTryingToMockNonStaticInnerClass() - Method in class atest.jmock.cglib.ErrorDetectionAcceptanceTest
testResetClearsFirstFailure() - Method in class atest.jmock.CascadedFailuresAcceptanceTest
testResetClearsIDs() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
testShowsExpectationThatDoesNotVerify() - Method in class atest.jmock.ErrorMessagesAcceptanceTest
testShowsNoExpectationsStringWhenNoExpectationsSet() - Method in class atest.jmock.ErrorMessagesAcceptanceTest
testSuccessfulVerifyClearsFirstFailure() - Method in class atest.jmock.CascadedFailuresAcceptanceTest
testUnexpectedCallAlsoShowsExpectedCalls() - Method in class atest.jmock.ErrorMessagesAcceptanceTest
testUsingSameMethodNameAsParameterToAfterIsAnError() - Method in class atest.jmock.OrderedInvocationsAcceptanceTest
throwException(Throwable) - Method in class org.jmock.MockObjectTestCase
ThrowStub - Class in org.jmock.core.stub
ThrowStub(Throwable) - Constructor for class org.jmock.core.stub.ThrowStub
toReadableString(Object) - Static method in class org.jmock.core.Formatting
toString() - Method in class atest.jmock.cglib.OverriddenToStringAcceptanceTest.ClassThatOverridesToString
toString() - Method in class org.jmock.core.AbstractDynamicMock
toString() - Method in class org.jmock.core.Invocation
toString() - Method in class org.jmock.core.InvocationMocker
toString(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
toString() - Method in class org.jmock.expectation.MapEntry
toString() - Method in class org.jmock.expectation.Null
  Returns a string representation of this `Null` object.
toString() - Method in class org.jmock.Mock
twoArgsReturnsInt(String, Object) - Method in interface atest.jmock.Types.WithTwoMethods
Types - Interface in atest.jmock
  Used as namespace for example types used in integration tests
Types.WithTwoMethods - Interface in atest.jmock

## U

unregisterToVerify(Verifiable) - Method in class org.jmock.core.VerifyingTestCase

## V

Verifiable - Interface in org.jmock.core
  A Verifiable is an object that can confirm at the end of a unit test that the correct behvaiour has occurred.
Verifier - Class in org.jmock.util
  Helper class to verify all `Verifiable` fields of an object.
Verifier() - Constructor for class org.jmock.util.Verifier
verify() - Method in class org.jmock.core.AbstractDynamicMock
verify() - Method in class org.jmock.core.AbstractInvocationDispatcher
verify() - Method in class org.jmock.core.InvocationMocker
verify() - Method in class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
verify() - Method in class org.jmock.core.matcher.InvokeCountMatcher
verify() - Method in class org.jmock.core.matcher.InvokedRecorder
verify() - Method in class org.jmock.core.matcher.InvokeOnceMatcher
verify() - Method in class org.jmock.core.matcher.StatelessInvocationMatcher
verify() - Method in class org.jmock.core.matcher.TestFailureMatcher
verify() - Method in interface org.jmock.core.Verifiable
  Throw an AssertionFailedException if any expectations have not been met.
verify() - Method in class org.jmock.core.VerifyingTestCase
verify() - Method in class org.jmock.expectation.AbstractExpectation
verify() - Method in class org.jmock.expectation.AbstractExpectationCollection
verify() - Method in class org.jmock.expectation.ExpectationCounter
verify() - Method in class org.jmock.expectation.ExpectationDoubleValue
verify() - Method in class org.jmock.expectation.ExpectationMap
verify() - Method in class org.jmock.expectation.ExpectationSegment
verify() - Method in class org.jmock.expectation.ExpectationSet
verify() - Method in class org.jmock.expectation.ExpectationValue
verify() - Method in class org.jmock.expectation.MockObject
verify() - Method in class org.jmock.expectation.ReturnObjectBag
  Checks each the list for each key to verify that all no objects remain in the list for that key.
verify() - Method in class org.jmock.expectation.ReturnObjectList
  Verify that there are no objects left within the list.
verify() - Method in class org.jmock.expectation.ReturnObjectMap
verify() - Method in class org.jmock.Mock
verifyHasBeenInvoked() - Method in class org.jmock.core.matcher.InvokedRecorder
verifyHasBeenInvokedExactly(int) - Method in class org.jmock.core.matcher.InvokedRecorder
VerifyingTestCase - Class in org.jmock.core
  A `TestCase` that verifies `Verifiable` fields and registered Verifiable objects after the test has run and before the fixture has been torn down.
VerifyingTestCase() - Constructor for class org.jmock.core.VerifyingTestCase
VerifyingTestCase(String) - Constructor for class org.jmock.core.VerifyingTestCase
verifyObject(Object) - Static method in class org.jmock.util.Verifier
  Verifies all the fields of type Verifiable in the given object, including those inherited from superclasses.
VoidReturnValues - Class in org.jmock.expectation
  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.
VoidReturnValues(String, boolean) - Constructor for class org.jmock.expectation.VoidReturnValues
VoidReturnValues(boolean) - Constructor for class org.jmock.expectation.VoidReturnValues
VoidStub - Class in org.jmock.core.stub
VoidStub() - Constructor for class org.jmock.core.stub.VoidStub

## W

will(Stub) - Method in class org.jmock.builder.InvocationMockerBuilder
will(Stub) - Method in interface org.jmock.builder.StubBuilder
with(Constraint[]) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
with(Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
with(Constraint, Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
with(Constraint, Constraint, Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
with(Constraint, Constraint, Constraint, Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
with(Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
with(Constraint, Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
with(Constraint, Constraint, Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
with(Constraint, Constraint, Constraint, Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
with(Constraint[]) - Method in class org.jmock.builder.InvocationMockerBuilder
withAnyArguments() - Method in interface org.jmock.builder.ArgumentsMatchBuilder
withAnyArguments() - Method in class org.jmock.builder.InvocationMockerBuilder
withArray(Object[]) - Method in interface atest.jmock.CollectionsAcceptanceTest.T
withList(List) - Method in interface atest.jmock.CollectionsAcceptanceTest.T
withMap(Map) - Method in interface atest.jmock.CollectionsAcceptanceTest.T
withNoArguments() - Method in interface org.jmock.builder.ArgumentsMatchBuilder
withNoArguments() - Method in class org.jmock.builder.InvocationMockerBuilder
withObject(Object) - Method in interface atest.jmock.CollectionsAcceptanceTest.T
withSet(Set) - Method in interface atest.jmock.CollectionsAcceptanceTest.T
writeTo(StringBuffer) - Method in error org.jmock.core.DynamicMockError

## X

xtestDynaMockExample() - Method in class atest.jmock.DynamicMockExample

A B C D E F G H I J L M N O P R S T U V W X

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES