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

a(Class<?>) - Static method in class org.jmock.Expectations
  Deprecated. use `Expectations.aNonNull(java.lang.Class)` or `Expectations.any(java.lang.Class)` until type inference actually works in a future version of Java
Action - Interface in org.jmock.api
  An object that fakes the behaviour of an `InvocationExpectation`.
ActionClause - Interface in org.jmock.syntax
ActionSequence - Class in org.jmock.lib.action
  Returns the next of a sequence of elements each time it is invoked.
ActionSequence(Action...) - Constructor for class org.jmock.lib.action.ActionSequence
addExpectation(Expectation) - Method in class org.jmock.Mockery
  Adds an expected invocation that the object under test will perform upon objects in its context during the test.
addVerifier(Runnable) - Method in class org.jmock.integration.junit3.VerifyingTestCase
AllOf<T> - Class in org.hamcrest.core
  Calculates the logical conjunction of two matchers.
AllOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AllOf
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AllOf
  Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AllOf
  Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.CoreMatchers
  Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.CoreMatchers
  Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.Matchers
  Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.Matchers
  Evaluates to true only if ALL of the passed in matchers evaluate to true.
allowing(Matcher<?>) - Method in class org.jmock.Expectations
allowing(T) - Method in class org.jmock.Expectations
allowing(T) - Method in interface org.jmock.syntax.CardinalityClause
allowing(Matcher<?>) - Method in interface org.jmock.syntax.CardinalityClause
allowsMoreInvocations() - Method in interface org.jmock.api.Expectation
  Can more `Invocation`s expected by this Expectation still occur?
an(Class<?>) - Static method in class org.jmock.Expectations
  Deprecated. use `Expectations.aNonNull(java.lang.Class)` or `Expectations.any(java.lang.Class)` until type inference actually works in a future version of Java
aNonNull(Class<T>) - Static method in class org.jmock.Expectations
aNull(Class<T>) - Static method in class org.jmock.Expectations
any(Class<T>) - Static method in class org.hamcrest.core.IsAnything
  This matcher always evaluates to true.
any(Class<T>) - Static method in class org.hamcrest.CoreMatchers
  This matcher always evaluates to true.
any(Class<T>) - Static method in class org.hamcrest.Matchers
  This matcher always evaluates to true.
any(Class<T>) - Static method in class org.jmock.Expectations
AnyOf<T> - Class in org.hamcrest.core
  Calculates the logical disjunction of two matchers.
AnyOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AnyOf
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AnyOf
  Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AnyOf
  Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.CoreMatchers
  Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.CoreMatchers
  Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.Matchers
  Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.Matchers
  Evaluates to true if ANY of the passed in matchers evaluate to true.
anything() - Static method in class org.hamcrest.core.IsAnything
  This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.core.IsAnything
  This matcher always evaluates to true.
anything() - Static method in class org.hamcrest.CoreMatchers
  This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.CoreMatchers
  This matcher always evaluates to true.
anything() - Static method in class org.hamcrest.Matchers
  This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.Matchers
  This matcher always evaluates to true.
anything() - Static method in class org.jmock.Expectations
append(String) - Method in class org.hamcrest.BaseDescription
  Append the String str to the description.
append(char) - Method in class org.hamcrest.BaseDescription
  Append the char c to the description.
append(String) - Method in class org.hamcrest.StringDescription
append(char) - Method in class org.hamcrest.StringDescription
appendDescriptionOf(SelfDescribing) - Method in class org.hamcrest.BaseDescription
appendDescriptionOf(SelfDescribing) - Method in interface org.hamcrest.Description
  Appends the description of a `SelfDescribing` value to this description.
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in class org.hamcrest.BaseDescription
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in interface org.hamcrest.Description
  Appends a list of `SelfDescribing` objects to the description.
appendText(String) - Method in class org.hamcrest.BaseDescription
appendText(String) - Method in interface org.hamcrest.Description
  Appends some plain text to the description.
appendValue(Object) - Method in class org.hamcrest.BaseDescription
appendValue(Object) - Method in interface org.hamcrest.Description
  Appends an arbitary value to the description.
appendValueList(String, String, String, T...) - Method in class org.hamcrest.BaseDescription
appendValueList(String, String, String, Iterable<T>) - Method in class org.hamcrest.BaseDescription
appendValueList(String, String, String, T...) - Method in interface org.hamcrest.Description
  Appends a list of values to the description.
appendValueList(String, String, String, Iterable<T>) - Method in interface org.hamcrest.Description
  Appends a list of values to the description.
applyTo(Object) - Method in class org.jmock.api.Invocation
ArgumentConstraintPhrases - Interface in org.jmock.syntax
array(Matcher<T>...) - Static method in class org.hamcrest.collection.IsArray
AssertionErrorTranslator - Class in org.jmock.lib
  Translates `ExpectationError`s into `AssertionError`s that several test frameworks, including JUnit 4 and TestNG, use to report errors.
assertIsSatisfied() - Method in class org.jmock.Mockery
  Fails the test if there are any expectations that have not been met.
asString(SelfDescribing) - Static method in class org.hamcrest.StringDescription
  Alias for `StringDescription.toString(SelfDescribing)`.
atLeast(int) - Method in class org.jmock.Expectations
atLeast(int) - Method in interface org.jmock.syntax.CardinalityClause
atMost(int) - Method in class org.jmock.Expectations
atMost(int) - Method in interface org.jmock.syntax.CardinalityClause
awaitTermination(long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler

## B

BaseDescription - Class in org.hamcrest
  A `Description` that is stored as a string.
BaseDescription() - Constructor for class org.hamcrest.BaseDescription
BaseMatcher<T> - Class in org.hamcrest
  BaseClass for all Matcher implementations.
BaseMatcher() - Constructor for class org.hamcrest.BaseMatcher
become(String) - Method in interface org.jmock.States
  Put the state machine into state nextState.
between(int, int) - Method in class org.jmock.Expectations
between(int, int) - Method in interface org.jmock.syntax.CardinalityClause
buildExpectations(Action, ExpectationCollector) - Method in class org.jmock.Expectations

## C

CamelCaseNamingScheme - Class in org.jmock.lib
  A naming scheme in which the implicit name for a mock object is the mocked type's name with the first character in lower case.
CamelCaseNamingScheme() - Constructor for class org.jmock.lib.CamelCaseNamingScheme
canImposterise(Class<?>) - Method in interface org.jmock.api.Imposteriser
  Reports if the Imposteriser is able to imposterise a given type.
canImposterise(Class<?>) - Method in class org.jmock.lib.JavaReflectionImposteriser
canImposterise(Class<?>) - Method in class org.jmock.lib.legacy.ClassImposteriser
CardinalityClause - Interface in org.jmock.syntax
checking(ExpectationBuilder) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Specify expectations upon the mock objects in the test.
checking(ExpectationBuilder) - Method in class org.jmock.Mockery
  Specifies the expected invocations that the object under test will perform upon objects in its context during the test.
checkReturnTypeCompatibility(Object) - Method in class org.jmock.api.Invocation
ClassImposteriser - Class in org.jmock.lib.legacy
  This class lets you imposterise abstract and concrete classes without calling the constructors of the mocked class.
ClassImposteriser.ClassWithSuperclassToWorkAroundCglibBug - Class in org.jmock.lib.legacy
ClassImposteriser.ClassWithSuperclassToWorkAroundCglibBug() - Constructor for class org.jmock.lib.legacy.ClassImposteriser.ClassWithSuperclassToWorkAroundCglibBug
closeTo(double, double) - Static method in class org.hamcrest.Matchers
closeTo(double, double) - Static method in class org.hamcrest.number.IsCloseTo
constrainAsNextInSequence(InvocationExpectation) - Method in interface org.jmock.Sequence
containsString(String) - Static method in class org.hamcrest.Matchers
containsString(String) - Static method in class org.hamcrest.text.StringContains
CoreMatchers - Class in org.hamcrest
CoreMatchers() - Constructor for class org.hamcrest.CoreMatchers
currentBuilder() - Method in class org.jmock.Expectations
CustomAction - Class in org.jmock.lib.action
  A partial implementation of the `Action` interface that makes it convenient to implement application-specific actions with inline anonymous classes.
CustomAction(String) - Constructor for class org.jmock.lib.action.CustomAction

## D

defaultNameFor(Class<?>) - Method in interface org.jmock.api.MockObjectNamingScheme
  Derive a name for a mock object from the name of the given type.
defaultNameFor(Class<?>) - Method in class org.jmock.lib.CamelCaseNamingScheme
defaultNameFor(Class<?>) - Method in class org.jmock.lib.LastWordNamingScheme
defaultNameFor(Class<?>) - Method in class org.jmock.lib.RetroNamingScheme
DescribedAs<T> - Class in org.hamcrest.core
  Provides a custom description to another matcher.
DescribedAs(String, Matcher<T>, Object[]) - Constructor for class org.hamcrest.core.DescribedAs
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.core.DescribedAs
  Wraps an existing matcher and overrides the description when it fails.
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.CoreMatchers
  Wraps an existing matcher and overrides the description when it fails.
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.Matchers
  Wraps an existing matcher and overrides the description when it fails.
describeTo(Description) - Method in class org.hamcrest.beans.HasProperty
describeTo(Description) - Method in class org.hamcrest.beans.HasPropertyWithValue
describeTo(Description) - Method in class org.hamcrest.collection.IsArray
describeTo(Description) - Method in class org.hamcrest.collection.IsArrayContaining
describeTo(Description) - Method in class org.hamcrest.collection.IsCollectionContaining
describeTo(Description) - Method in class org.hamcrest.collection.IsIn
describeTo(Description) - Method in class org.hamcrest.collection.IsMapContaining
describeTo(Description) - Method in class org.hamcrest.core.AllOf
describeTo(Description) - Method in class org.hamcrest.core.AnyOf
describeTo(Description) - Method in class org.hamcrest.core.DescribedAs
describeTo(Description) - Method in class org.hamcrest.core.Is
describeTo(Description) - Method in class org.hamcrest.core.IsAnything
describeTo(Description) - Method in class org.hamcrest.core.IsEqual
describeTo(Description) - Method in class org.hamcrest.core.IsInstanceOf
describeTo(Description) - Method in class org.hamcrest.core.IsNot
describeTo(Description) - Method in class org.hamcrest.core.IsNull
describeTo(Description) - Method in class org.hamcrest.core.IsSame
describeTo(Description) - Method in class org.hamcrest.number.IsCloseTo
describeTo(Description) - Method in class org.hamcrest.number.IsGreaterThan
describeTo(Description) - Method in class org.hamcrest.object.HasToString
describeTo(Description) - Method in class org.hamcrest.object.IsCompatibleType
describeTo(Description) - Method in class org.hamcrest.object.IsEventFrom
describeTo(Description) - Method in interface org.hamcrest.SelfDescribing
  Generates a description of the object.
describeTo(Description) - Method in class org.hamcrest.text.IsEqualIgnoringCase
describeTo(Description) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
describeTo(Description) - Method in class org.hamcrest.text.SubstringMatcher
describeTo(Description) - Method in class org.hamcrest.xml.HasXPath
describeTo(Description) - Method in error org.jmock.api.ExpectationError
describeTo(Description) - Method in class org.jmock.api.Invocation
describeTo(Description) - Method in class org.jmock.lib.action.ActionSequence
describeTo(Description) - Method in class org.jmock.lib.action.CustomAction
describeTo(Description) - Method in class org.jmock.lib.action.DoAllAction
describeTo(Description) - Method in class org.jmock.lib.action.ReturnEnumerationAction
describeTo(Description) - Method in class org.jmock.lib.action.ReturnIteratorAction
describeTo(Description) - Method in class org.jmock.lib.action.ReturnValueAction
describeTo(Description) - Method in class org.jmock.lib.action.ThrowAction
describeTo(Description) - Method in class org.jmock.lib.action.VoidAction
describeTo(Description) - Method in class org.jmock.lib.script.ScriptedAction
describeTo(Description) - Method in class org.jmock.Mockery
Description - Interface in org.hamcrest
  A description of a Matcher.
descriptionEnd() - Method in class org.hamcrest.collection.IsArray
  Returns the string that ends the description.
descriptionSeparator() - Method in class org.hamcrest.collection.IsArray
  Returns the string that separates the elements in the description.
descriptionStart() - Method in class org.hamcrest.collection.IsArray
  Returns the string that starts the description.
DeterministicExecutor - Class in org.jmock.lib.concurrent
  An `Executor` that executes commands on the thread that calls `runPendingCommands` or `runUntilIdle`.
DeterministicExecutor() - Constructor for class org.jmock.lib.concurrent.DeterministicExecutor
DeterministicScheduler - Class in org.jmock.lib.concurrent
  A `ScheduledExecutorService` that executes commands on the thread that calls `runNextPendingCommand`, `runUntilIdle` or `tick`.
DeterministicScheduler() - Constructor for class org.jmock.lib.concurrent.DeterministicScheduler
doAll(Action...) - Static method in class org.jmock.Expectations
DoAllAction - Class in org.jmock.lib.action
  Performs multiple actions every time it is invoked.
DoAllAction(Action...) - Constructor for class org.jmock.lib.action.DoAllAction

## E

endsWith(String) - Static method in class org.hamcrest.Matchers
endsWith(String) - Static method in class org.hamcrest.text.StringEndsWith
equal(T) - Static method in class org.jmock.Expectations
equals(Object) - Method in class org.jmock.api.Invocation
equals(Invocation) - Method in class org.jmock.api.Invocation
equalTo(T) - Static method in class org.hamcrest.core.IsEqual
  Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` invokedMethod?
equalTo(T) - Static method in class org.hamcrest.CoreMatchers
  Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` invokedMethod?
equalTo(T) - Static method in class org.hamcrest.Matchers
  Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` invokedMethod?
equalToIgnoringCase(String) - Static method in class org.hamcrest.Matchers
equalToIgnoringCase(String) - Static method in class org.hamcrest.text.IsEqualIgnoringCase
equalToIgnoringWhiteSpace(String) - Static method in class org.hamcrest.Matchers
equalToIgnoringWhiteSpace(String) - Static method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
evalSubstringOf(String) - Method in class org.hamcrest.text.StringContains
evalSubstringOf(String) - Method in class org.hamcrest.text.StringEndsWith
evalSubstringOf(String) - Method in class org.hamcrest.text.StringStartsWith
evalSubstringOf(String) - Method in class org.hamcrest.text.SubstringMatcher
eventFrom(Class<? extends EventObject>, Object) - Static method in class org.hamcrest.Matchers
  Constructs an IsEventFrom Matcher that returns true for any object derived from eventClass announced by source.
eventFrom(Object) - Static method in class org.hamcrest.Matchers
  Constructs an IsEventFrom Matcher that returns true for any object derived from `EventObject` announced by source .
eventFrom(Class<? extends EventObject>, Object) - Static method in class org.hamcrest.object.IsEventFrom
  Constructs an IsEventFrom Matcher that returns true for any object derived from eventClass announced by source.
eventFrom(Object) - Static method in class org.hamcrest.object.IsEventFrom
  Constructs an IsEventFrom Matcher that returns true for any object derived from `EventObject` announced by source .
exactly(int) - Method in class org.jmock.Expectations
exactly(int) - Method in interface org.jmock.syntax.CardinalityClause
execute(Runnable) - Method in class org.jmock.lib.concurrent.DeterministicExecutor
execute(Runnable) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
Expectation - Interface in org.jmock.api
  An object that matches, checks and fakes an `Invocation`
ExpectationError - Error in org.jmock.api
  An error thrown when an expectation is violated during a test.
ExpectationError(String, SelfDescribing, Invocation) - Constructor for error org.jmock.api.ExpectationError
ExpectationError(String, Invocation) - Constructor for error org.jmock.api.ExpectationError
ExpectationError(String, SelfDescribing) - Constructor for error org.jmock.api.ExpectationError
ExpectationErrorTranslator - Interface in org.jmock.api
  Translates expectation errors into error type used by a specific testing framework.
expectations - Variable in error org.jmock.api.ExpectationError
Expectations - Class in org.jmock
  Provides most of the syntax of jMock's "domain-specific language" API.
Expectations() - Constructor for class org.jmock.Expectations

## F

Factory - Annotation Type in org.hamcrest
  Marks a Hamcrest static factory method so tools recognise them.

## G

getInvokedMethod() - Method in class org.jmock.api.Invocation
getInvokedObject() - Method in class org.jmock.api.Invocation
getParameter(int) - Method in class org.jmock.api.Invocation
getParameterCount() - Method in class org.jmock.api.Invocation
getParametersAsArray() - Method in class org.jmock.api.Invocation
getPropertyDescriptor(String, Object) - Static method in class org.hamcrest.beans.PropertyUtil
  Returns the description of the property with the provided name on the provided object's interface.
greaterThan(T) - Static method in class org.hamcrest.Matchers
greaterThan(T) - Static method in class org.hamcrest.number.OrderingComparisons
greaterThanOrEqualTo(T) - Static method in class org.hamcrest.Matchers
greaterThanOrEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparisons

## H

hasEntry(Matcher<K>, Matcher<V>) - Static method in class org.hamcrest.collection.IsMapContaining
hasEntry(K, V) - Static method in class org.hamcrest.collection.IsMapContaining
hasEntry(Matcher<K>, Matcher<V>) - Static method in class org.hamcrest.Matchers
hasEntry(K, V) - Static method in class org.hamcrest.Matchers
hashCode() - Method in class org.jmock.api.Invocation
hasItem(Matcher<? extends T>) - Static method in class org.hamcrest.collection.IsCollectionContaining
hasItem(T) - Static method in class org.hamcrest.collection.IsCollectionContaining
hasItem(T) - Static method in class org.hamcrest.Matchers
hasItem(Matcher<? extends T>) - Static method in class org.hamcrest.Matchers
hasItemInArray(Matcher<T>) - Static method in class org.hamcrest.collection.IsArrayContaining
hasItemInArray(T) - Static method in class org.hamcrest.collection.IsArrayContaining
hasItemInArray(Matcher<T>) - Static method in class org.hamcrest.Matchers
hasItemInArray(T) - Static method in class org.hamcrest.Matchers
hasItems(Matcher<? extends T>...) - Static method in class org.hamcrest.collection.IsCollectionContaining
hasItems(T...) - Static method in class org.hamcrest.collection.IsCollectionContaining
hasItems(Matcher<? extends T>...) - Static method in class org.hamcrest.Matchers
hasItems(T...) - Static method in class org.hamcrest.Matchers
hasKey(Matcher<K>) - Static method in class org.hamcrest.collection.IsMapContaining
hasKey(K) - Static method in class org.hamcrest.collection.IsMapContaining
hasKey(Matcher<K>) - Static method in class org.hamcrest.Matchers
hasKey(K) - Static method in class org.hamcrest.Matchers
HasProperty<T> - Class in org.hamcrest.beans
  Matcher that checks that an object has a JavaBean property with the specified name.
HasProperty(String) - Constructor for class org.hamcrest.beans.HasProperty
hasProperty(String) - Static method in class org.hamcrest.beans.HasProperty
hasProperty(String, Matcher) - Static method in class org.hamcrest.beans.HasPropertyWithValue
hasProperty(String) - Static method in class org.hamcrest.Matchers
hasProperty(String, Matcher) - Static method in class org.hamcrest.Matchers
HasPropertyWithValue<T> - Class in org.hamcrest.beans
  Matcher that asserts that a JavaBean property on an argument passed to the mock object meets the provided matcher.
HasPropertyWithValue(String, Matcher) - Constructor for class org.hamcrest.beans.HasPropertyWithValue
hasToString(Matcher<String>) - Static method in class org.hamcrest.Matchers
HasToString<T> - Class in org.hamcrest.object
HasToString(Matcher<String>) - Constructor for class org.hamcrest.object.HasToString
hasToString(Matcher<String>) - Static method in class org.hamcrest.object.HasToString
hasValue(Matcher<V>) - Static method in class org.hamcrest.collection.IsMapContaining
hasValue(V) - Static method in class org.hamcrest.collection.IsMapContaining
hasValue(Matcher<V>) - Static method in class org.hamcrest.Matchers
hasValue(V) - Static method in class org.hamcrest.Matchers
hasXPath(String, Matcher<String>) - Static method in class org.hamcrest.Matchers
hasXPath(String) - Static method in class org.hamcrest.Matchers
HasXPath - Class in org.hamcrest.xml
  Applies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression.
HasXPath(String, Matcher<String>) - Constructor for class org.hamcrest.xml.HasXPath
hasXPath(String, Matcher<String>) - Static method in class org.hamcrest.xml.HasXPath
hasXPath(String) - Static method in class org.hamcrest.xml.HasXPath

## I

IdentityExpectationErrorTranslator - Class in org.jmock.lib
  An `ExpectationErrorTranslator` that doesn't do any translation.
ignoring(T) - Method in class org.jmock.Expectations
ignoring(Matcher<?>) - Method in class org.jmock.Expectations
ignoring(T) - Method in interface org.jmock.syntax.CardinalityClause
ignoring(Matcher<?>) - Method in interface org.jmock.syntax.CardinalityClause
imposterise(Invokable, Class<T>, Class<?>...) - Method in interface org.jmock.api.Imposteriser
  Creates an imposter for a given type that forwards `Invocation`s to an `Invokable` object.
imposterise(Invokable, Class<T>, Class<?>...) - Method in class org.jmock.lib.JavaReflectionImposteriser
imposterise(Invokable, Class<T>, Class<?>...) - Method in class org.jmock.lib.legacy.ClassImposteriser
Imposteriser - Interface in org.jmock.api
  An object that can creates a proxy of the given type to capture `Invocation`s and pass them to an `Invokable` object for mocking or stubbing.
inSequence(Sequence) - Method in class org.jmock.Expectations
inSequences(Sequence...) - Method in class org.jmock.Expectations
INSTANCE - Static variable in class org.jmock.integration.junit3.JUnit3ErrorTranslator
INSTANCE - Static variable in class org.jmock.lib.action.VoidAction
INSTANCE - Static variable in class org.jmock.lib.AssertionErrorTranslator
INSTANCE - Static variable in class org.jmock.lib.CamelCaseNamingScheme
INSTANCE - Static variable in class org.jmock.lib.IdentityExpectationErrorTranslator
INSTANCE - Static variable in class org.jmock.lib.JavaReflectionImposteriser
INSTANCE - Static variable in class org.jmock.lib.LastWordNamingScheme
INSTANCE - Static variable in class org.jmock.lib.legacy.ClassImposteriser
INSTANCE - Static variable in class org.jmock.lib.RetroNamingScheme
instanceOf(Class<?>) - Static method in class org.hamcrest.core.IsInstanceOf
  Is the value an instance of a particular type?
instanceOf(Class<?>) - Static method in class org.hamcrest.CoreMatchers
  Is the value an instance of a particular type?
instanceOf(Class<?>) - Static method in class org.hamcrest.Matchers
  Is the value an instance of a particular type?
invocation - Variable in error org.jmock.api.ExpectationError
Invocation - Class in org.jmock.api
  The static details about a method and the run-time details of its invocation.
Invocation(Object, Method, Object...) - Constructor for class org.jmock.api.Invocation
Invokable - Interface in org.jmock.api
  An object that can receive an `Invocation`.
invoke(Invocation) - Method in interface org.jmock.api.Expectation
  Invokes the expectation: records that the invocation has occurred and fakes some behaviour in response.
invoke(Invocation) - Method in interface org.jmock.api.Invokable
  Performs an action in response to an invocation.
invoke(Invocation) - Method in class org.jmock.lib.action.ActionSequence
invoke(Invocation) - Method in class org.jmock.lib.action.DoAllAction
invoke(Invocation) - Method in class org.jmock.lib.action.ReturnEnumerationAction
invoke(Invocation) - Method in class org.jmock.lib.action.ReturnIteratorAction
invoke(Invocation) - Method in class org.jmock.lib.action.ReturnValueAction
invoke(Invocation) - Method in class org.jmock.lib.action.ThrowAction
invoke(Invocation) - Method in class org.jmock.lib.action.VoidAction
invoke(Invocation) - Method in class org.jmock.lib.script.ScriptedAction
invokeAll(Collection<Callable<T>>) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
invokeAll(Collection<Callable<T>>, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
invokeAny(Collection<Callable<T>>) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
invokeAny(Collection<Callable<T>>, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
Is<T> - Class in org.hamcrest.core
  Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
Is(Matcher<T>) - Constructor for class org.hamcrest.core.Is
is(Matcher<T>) - Static method in class org.hamcrest.core.Is
  Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.core.Is
  This is a shortcut to the frequently used is(equalTo(x)).
is(Class<?>) - Static method in class org.hamcrest.core.Is
  This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
is(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
  Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.CoreMatchers
  This is a shortcut to the frequently used is(equalTo(x)).
is(Class<?>) - Static method in class org.hamcrest.CoreMatchers
  This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
is(Matcher<T>) - Static method in class org.hamcrest.Matchers
  Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.Matchers
  This is a shortcut to the frequently used is(equalTo(x)).
is(Class<?>) - Static method in class org.hamcrest.Matchers
  This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
is(String) - Method in interface org.jmock.syntax.StatesClause
IsAnything<T> - Class in org.hamcrest.core
  A matcher that always returns `true`.
IsAnything() - Constructor for class org.hamcrest.core.IsAnything
IsAnything(String) - Constructor for class org.hamcrest.core.IsAnything
IsArray<T> - Class in org.hamcrest.collection
IsArray(Matcher<T>[]) - Constructor for class org.hamcrest.collection.IsArray
IsArrayContaining<T> - Class in org.hamcrest.collection
IsArrayContaining(Matcher<T>) - Constructor for class org.hamcrest.collection.IsArrayContaining
IsCloseTo - Class in org.hamcrest.number
  Is the value a number equal to a value within some range of acceptable error?
IsCloseTo(double, double) - Constructor for class org.hamcrest.number.IsCloseTo
IsCollectionContaining<T> - Class in org.hamcrest.collection
IsCollectionContaining(Matcher<? extends T>) - Constructor for class org.hamcrest.collection.IsCollectionContaining
IsCompatibleType<T> - Class in org.hamcrest.object
IsCompatibleType(Class<T>) - Constructor for class org.hamcrest.object.IsCompatibleType
IsEqual<T> - Class in org.hamcrest.core
  Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` invokedMethod?
IsEqual(T) - Constructor for class org.hamcrest.core.IsEqual
IsEqualIgnoringCase - Class in org.hamcrest.text
  Tests if a string is equal to another string, regardless of the case.
IsEqualIgnoringCase(String) - Constructor for class org.hamcrest.text.IsEqualIgnoringCase
IsEqualIgnoringWhiteSpace - Class in org.hamcrest.text
  Tests if a string is equal to another string, ignoring any changes in whitespace.
IsEqualIgnoringWhiteSpace(String) - Constructor for class org.hamcrest.text.IsEqualIgnoringWhiteSpace
IsEventFrom - Class in org.hamcrest.object
  Tests if the value is an event announced by a specific object.
IsEventFrom(Class, Object) - Constructor for class org.hamcrest.object.IsEventFrom
IsGreaterThan<T extends Comparable<T>> - Class in org.hamcrest.number
  Is the value less than or greater than another `Comparable` value?
IsGreaterThan(Comparable<T>) - Constructor for class org.hamcrest.number.IsGreaterThan
isIdle() - Method in class org.jmock.lib.concurrent.DeterministicExecutor
  Returns whether this executor is idle -- has no pending background tasks waiting to be run.
isIdle() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
  Reports whether scheduler is "idle": has no commands pending immediate execution.
IsIn<T> - Class in org.hamcrest.collection
IsIn(Collection<T>) - Constructor for class org.hamcrest.collection.IsIn
IsIn(T[]) - Constructor for class org.hamcrest.collection.IsIn
isIn(Collection<T>) - Static method in class org.hamcrest.collection.IsIn
isIn(T[]) - Static method in class org.hamcrest.collection.IsIn
isIn(Collection<T>) - Static method in class org.hamcrest.Matchers
isIn(T[]) - Static method in class org.hamcrest.Matchers
IsInstanceOf - Class in org.hamcrest.core
  Tests whether the value is an instance of a class.
IsInstanceOf(Class<?>) - Constructor for class org.hamcrest.core.IsInstanceOf
  Creates a new instance of IsInstanceOf
IsMapContaining<K,V> - Class in org.hamcrest.collection
IsMapContaining(Matcher<K>, Matcher<V>) - Constructor for class org.hamcrest.collection.IsMapContaining
IsNot<T> - Class in org.hamcrest.core
  Calculates the logical negation of a matcher.
IsNot(Matcher<T>) - Constructor for class org.hamcrest.core.IsNot
isNot(String) - Method in interface org.jmock.syntax.StatesClause
IsNull<T> - Class in org.hamcrest.core
  Is the value null?
IsNull() - Constructor for class org.hamcrest.core.IsNull
isOneOf(T...) - Static method in class org.hamcrest.collection.IsIn
isOneOf(T...) - Static method in class org.hamcrest.Matchers
IsSame<T> - Class in org.hamcrest.core
  Is the value the same object as another value?
IsSame(T) - Constructor for class org.hamcrest.core.IsSame
isSatisfied() - Method in interface org.jmock.api.Expectation
  Have enough `Invocation`s expected by this Expectation occurred?
isShutdown() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
isTerminated() - Method in class org.jmock.lib.concurrent.DeterministicScheduler

## J

JavaReflectionImposteriser - Class in org.jmock.lib
  An `Imposteriser` that uses the `Proxy` class of the Java Reflection API.
JavaReflectionImposteriser() - Constructor for class org.jmock.lib.JavaReflectionImposteriser
JMock - Class in org.jmock.integration.junit4
  A test `Runner` that asserts that all expectations have been met after the test has finished and before the fixture is torn down.
JMock(Class<?>) - Constructor for class org.jmock.integration.junit4.JMock
JUnit3ErrorTranslator - Class in org.jmock.integration.junit3
  Translates `ExpectationError`s into JUnit's `AssertionFailedError`s.
JUnit3Mockery - Class in org.jmock.integration.junit3
  A `Mockery` that reports expectation errors as JUnit 3 test failures.
JUnit3Mockery() - Constructor for class org.jmock.integration.junit3.JUnit3Mockery
JUnit4Mockery - Class in org.jmock.integration.junit4
  A `Mockery` that reports expectation errors as JUnit 4 test failures.
JUnit4Mockery() - Constructor for class org.jmock.integration.junit4.JUnit4Mockery

## L

LastWordNamingScheme - Class in org.jmock.lib
  A naming scheme in which the implicit name for a mock object is the last word of the mocked type's name in lower case.
lessThan(T) - Static method in class org.hamcrest.Matchers
lessThan(T) - Static method in class org.hamcrest.number.OrderingComparisons
lessThanOrEqualTo(T) - Static method in class org.hamcrest.Matchers
lessThanOrEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparisons

## M

main(String[]) - Static method in class org.hamcrest.text.X
Matcher<T> - Interface in org.hamcrest
  A matcher over acceptable values.
Matchers - Class in org.hamcrest
Matchers() - Constructor for class org.hamcrest.Matchers
matches(Object) - Method in class org.hamcrest.collection.IsIn
matches(Object) - Method in class org.hamcrest.core.AllOf
matches(Object) - Method in class org.hamcrest.core.AnyOf
matches(Object) - Method in class org.hamcrest.core.DescribedAs
matches(Object) - Method in class org.hamcrest.core.Is
matches(Object) - Method in class org.hamcrest.core.IsAnything
matches(Object) - Method in class org.hamcrest.core.IsEqual
matches(Object) - Method in class org.hamcrest.core.IsInstanceOf
matches(Object) - Method in class org.hamcrest.core.IsNot
matches(Object) - Method in class org.hamcrest.core.IsNull
matches(Object) - Method in class org.hamcrest.core.IsSame
matches(Object) - Method in interface org.hamcrest.Matcher
  Evaluates the matcher for argument item.
matches(Object) - Method in class org.hamcrest.object.HasToString
matches(Object) - Method in class org.hamcrest.TypeSafeMatcher
  Method made final to prevent accidental override.
matches(Invocation) - Method in interface org.jmock.api.Expectation
  Can the Expectation be invoked with invocation?
matchesSafely(T) - Method in class org.hamcrest.beans.HasProperty
matchesSafely(T) - Method in class org.hamcrest.beans.HasPropertyWithValue
matchesSafely(T[]) - Method in class org.hamcrest.collection.IsArray
matchesSafely(T[]) - Method in class org.hamcrest.collection.IsArrayContaining
matchesSafely(Iterable<T>) - Method in class org.hamcrest.collection.IsCollectionContaining
matchesSafely(Map<K, V>) - Method in class org.hamcrest.collection.IsMapContaining
matchesSafely(Double) - Method in class org.hamcrest.number.IsCloseTo
matchesSafely(T) - Method in class org.hamcrest.number.IsGreaterThan
matchesSafely(Class<?>) - Method in class org.hamcrest.object.IsCompatibleType
matchesSafely(EventObject) - Method in class org.hamcrest.object.IsEventFrom
matchesSafely(String) - Method in class org.hamcrest.text.IsEqualIgnoringCase
matchesSafely(String) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
matchesSafely(String) - Method in class org.hamcrest.text.SubstringMatcher
matchesSafely(T) - Method in class org.hamcrest.TypeSafeMatcher
  Subclasses should implement this.
matchesSafely(Node) - Method in class org.hamcrest.xml.HasXPath
method(Matcher<Method>) - Method in interface org.jmock.syntax.MethodClause
method(String) - Method in interface org.jmock.syntax.MethodClause
MethodClause - Interface in org.jmock.syntax
mock(Class<T>, String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Create a mock object of type T with an explicit name.
mock(Class<T>) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Create a mock object of type T with a name derived from its type.
mock(Class<T>) - Method in class org.jmock.Mockery
  Creates a mock object of type typeToMock and generates a name for it.
mock(Class<T>, String) - Method in class org.jmock.Mockery
  Creates a mock object of type typeToMock with the given name.
Mockery - Class in org.jmock
  A Mockery represents the context, or neighbourhood, of the object(s) under test.
Mockery() - Constructor for class org.jmock.Mockery
mockeryOf(Object) - Method in class org.jmock.integration.junit4.JMock
MockObjectNamingScheme - Interface in org.jmock.api
  Creates names for mock objects that have not explicitly been given a name.
MockObjectTestCase - Class in org.jmock.integration.junit3
  A `TestCase` that supports testing with mock objects.
MockObjectTestCase() - Constructor for class org.jmock.integration.junit3.MockObjectTestCase
MockObjectTestCase(String) - Constructor for class org.jmock.integration.junit3.MockObjectTestCase

## N

never(T) - Method in class org.jmock.Expectations
never(T) - Method in interface org.jmock.syntax.CardinalityClause
NO_PARAMETERS - Static variable in class org.jmock.api.Invocation
not(Matcher<T>) - Static method in class org.hamcrest.core.IsNot
  Inverts the rule.
not(T) - Static method in class org.hamcrest.core.IsNot
  This is a shortcut to the frequently used not(equalTo(x)).
not(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
  Inverts the rule.
not(T) - Static method in class org.hamcrest.CoreMatchers
  This is a shortcut to the frequently used not(equalTo(x)).
not(Matcher<T>) - Static method in class org.hamcrest.Matchers
  Inverts the rule.
not(T) - Static method in class org.hamcrest.Matchers
  This is a shortcut to the frequently used not(equalTo(x)).
notNullValue() - Static method in class org.hamcrest.core.IsNull
  Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
  Matches if value is not null.
notNullValue() - Static method in class org.hamcrest.CoreMatchers
  Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
  Matches if value is not null.
notNullValue() - Static method in class org.hamcrest.Matchers
  Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.Matchers
  Matches if value is not null.
nullValue() - Static method in class org.hamcrest.core.IsNull
  Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
  Matches if value is null.
nullValue() - Static method in class org.hamcrest.CoreMatchers
  Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
  Matches if value is null.
nullValue() - Static method in class org.hamcrest.Matchers
  Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.Matchers
  Matches if value is null.

## O

of(T) - Method in interface org.jmock.syntax.ReceiverClause
of(Matcher<?>) - Method in interface org.jmock.syntax.ReceiverClause
onConsecutiveCalls(Action...) - Static method in class org.jmock.Expectations
one(T) - Method in class org.jmock.Expectations
  This will eventually be deprecated.
one(T) - Method in interface org.jmock.syntax.CardinalityClause
oneOf(T) - Method in class org.jmock.Expectations
OrderingComparisons - Class in org.hamcrest.number
OrderingComparisons() - Constructor for class org.hamcrest.number.OrderingComparisons
org.hamcrest - package org.hamcrest
  The stable API defining Matcher and its associated interfaces and classes.
org.hamcrest.beans - package org.hamcrest.beans
  Matchers of Java Bean properties and their values.
org.hamcrest.collection - package org.hamcrest.collection
  Matchers of arrays and collections.
org.hamcrest.core - package org.hamcrest.core
  Fundamental matchers of objects and values, and composite matchers.
org.hamcrest.number - package org.hamcrest.number
  Matchers that perform numeric comparisons.
org.hamcrest.object - package org.hamcrest.object
  Matchers that inspect objects and classes.
org.hamcrest.text - package org.hamcrest.text
  Matchers that perform text comparisons.
org.hamcrest.xml - package org.hamcrest.xml
  Matchers of XML documents.
org.jmock - package org.jmock
  The jMock "Domain-Specific Embedded Language" API.
org.jmock.api - package org.jmock.api
  The stable API that is used to extend jMock at it's published plug-in points.
org.jmock.integration.junit3 - package org.jmock.integration.junit3
  Integrates jMock with JUnit 3.
org.jmock.integration.junit4 - package org.jmock.integration.junit4
  Integrates jMock with JUnit 4.
org.jmock.lib - package org.jmock.lib
  Implementations of the core interfaces that are used to adjust or extend jMock's basic functionality.
org.jmock.lib.action - package org.jmock.lib.action
  Actions that fake the behaviour of mocked invocations.
org.jmock.lib.concurrent - package org.jmock.lib.concurrent
  Classes to help test concurrent code with jMock.
org.jmock.lib.legacy - package org.jmock.lib.legacy
  Plugins that make it easier to use jMock with legacy code.
org.jmock.lib.script - package org.jmock.lib.script
  Plugins that make it easier to write custom actions by scripting their behaviour with BeanShell.
org.jmock.syntax - package org.jmock.syntax
  Interfaces that define jMock's Domain Specific Embedded Language.

## P

ParametersClause - Interface in org.jmock.syntax
perform(String) - Static method in class org.jmock.lib.script.ScriptedAction
  Creates an action that performs the given script.
PropertyUtil - Class in org.hamcrest.beans
  Utility class for accessing properties on JavaBean objects.
PropertyUtil() - Constructor for class org.hamcrest.beans.PropertyUtil

## R

ReceiverClause - Interface in org.jmock.syntax
relationship() - Method in class org.hamcrest.text.StringContains
relationship() - Method in class org.hamcrest.text.StringEndsWith
relationship() - Method in class org.hamcrest.text.StringStartsWith
relationship() - Method in class org.hamcrest.text.SubstringMatcher
RetroNamingScheme - Class in org.jmock.lib
  A naming scheme in which the implicit name for a mock object is the mocked type's name prepend with "mock".
RetroNamingScheme() - Constructor for class org.jmock.lib.RetroNamingScheme
returnEnumeration(Collection<?>) - Static method in class org.jmock.Expectations
returnEnumeration(T...) - Static method in class org.jmock.Expectations
ReturnEnumerationAction - Class in org.jmock.lib.action
  Returns an `Enumeration` over a collection.
ReturnEnumerationAction(Collection<?>) - Constructor for class org.jmock.lib.action.ReturnEnumerationAction
ReturnEnumerationAction(Object...) - Constructor for class org.jmock.lib.action.ReturnEnumerationAction
returnIterator(Collection<?>) - Static method in class org.jmock.Expectations
returnIterator(T...) - Static method in class org.jmock.Expectations
ReturnIteratorAction - Class in org.jmock.lib.action
  Returns an `Iterator` over a collection.
ReturnIteratorAction(Collection<?>) - Constructor for class org.jmock.lib.action.ReturnIteratorAction
ReturnIteratorAction(Object...) - Constructor for class org.jmock.lib.action.ReturnIteratorAction
returnValue(Object) - Static method in class org.jmock.Expectations
ReturnValueAction - Class in org.jmock.lib.action
  Returns a value.
ReturnValueAction(Object) - Constructor for class org.jmock.lib.action.ReturnValueAction
runBare() - Method in class org.jmock.integration.junit3.VerifyingTestCase
runNextPendingCommand() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
  Runs the next command scheduled to be executed immediately.
runPendingCommands() - Method in class org.jmock.lib.concurrent.DeterministicExecutor
  Runs all commands that are currently pending.
runUntilIdle() - Method in class org.jmock.lib.concurrent.DeterministicExecutor
  Runs executed commands until there are no commands pending execution, but does not tick time forward.
runUntilIdle() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
  Runs all commands scheduled to be executed immediately but does not tick time forward.

## S

same(T) - Static method in class org.jmock.Expectations
sameInstance(T) - Static method in class org.hamcrest.core.IsSame
  Creates a new instance of IsSame
sameInstance(T) - Static method in class org.hamcrest.CoreMatchers
  Creates a new instance of IsSame
sameInstance(T) - Static method in class org.hamcrest.Matchers
  Creates a new instance of IsSame
schedule(Runnable, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
schedule(Callable<V>, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
ScriptedAction - Class in org.jmock.lib.script
  An `Action` that executes a BeanShell script.
ScriptedAction(String) - Constructor for class org.jmock.lib.script.ScriptedAction
SelfDescribing - Interface in org.hamcrest
  The ability of an object to describe itself.
sequence(String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Returns a new sequence that is used to constrain the order in which expectations can occur.
sequence(String) - Method in class org.jmock.Mockery
  Returns a new sequence that is used to constrain the order in which expectations can occur.
Sequence - Interface in org.jmock
  A sequence of expectations; invocations can be constrained to occur in a strict order defined by a sequence.
setDefaultResultForType(Class<?>, Object) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Sets the result returned for the given type when no return value has been explicitly specified in the expectation.
setDefaultResultForType(Class<?>, Object) - Method in class org.jmock.Mockery
  Sets the result returned for the given type when no return value has been explicitly specified in the expectation.
setExpectationErrorTranslator(ExpectationErrorTranslator) - Method in class org.jmock.Mockery
  Changes the expectation error translator used to translate expectation errors into errors that report test failures.
setImposteriser(Imposteriser) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Changes the imposteriser used to adapt mock objects to the mocked type.
setImposteriser(Imposteriser) - Method in class org.jmock.Mockery
  Changes the imposteriser used to adapt mock objects to the mocked type.
setNamingScheme(MockObjectNamingScheme) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Changes the naming scheme used to generate names for mock objects that have not been explicitly named in the test.
setNamingScheme(MockObjectNamingScheme) - Method in class org.jmock.Mockery
  Changes the naming scheme used to generate names for mock objects that have not been explicitly named in the test.
shutdown() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
shutdownNow() - Method in class org.jmock.lib.concurrent.DeterministicScheduler
startsAs(String) - Method in interface org.jmock.States
  Put the state machine into state initialState.
startsWith(String) - Static method in class org.hamcrest.Matchers
startsWith(String) - Static method in class org.hamcrest.text.StringStartsWith
states(String) - Method in class org.jmock.integration.junit3.MockObjectTestCase
  Returns a new state machine that is used to constrain the order in which expectations can occur.
states(String) - Method in class org.jmock.Mockery
  Returns a new state machine that is used to constrain the order in which expectations can occur.
States - Interface in org.jmock
  A state machine that is used to constrain the order of invocations.
StatesClause - Interface in org.jmock.syntax
StringContains - Class in org.hamcrest.text
  Tests if the argument is a string that contains a substring.
StringContains(String) - Constructor for class org.hamcrest.text.StringContains
StringDescription - Class in org.hamcrest
  A `Description` that is stored as a string.
StringDescription() - Constructor for class org.hamcrest.StringDescription
StringDescription(Appendable) - Constructor for class org.hamcrest.StringDescription
StringEndsWith - Class in org.hamcrest.text
  Tests if the argument is a string that contains a substring.
StringEndsWith(String) - Constructor for class org.hamcrest.text.StringEndsWith
StringStartsWith - Class in org.hamcrest.text
  Tests if the argument is a string that contains a substring.
StringStartsWith(String) - Constructor for class org.hamcrest.text.StringStartsWith
stripSpace(String) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
submit(Callable<T>) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
submit(Runnable) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
submit(Runnable, T) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
substring - Variable in class org.hamcrest.text.SubstringMatcher
SubstringMatcher - Class in org.hamcrest.text
SubstringMatcher(String) - Constructor for class org.hamcrest.text.SubstringMatcher

## T

then(State) - Method in class org.jmock.Expectations
ThrowAction - Class in org.jmock.lib.action
  Throws an exception.
ThrowAction(Throwable) - Constructor for class org.jmock.lib.action.ThrowAction
throwException(Throwable) - Static method in class org.jmock.Expectations
tick(long, TimeUnit) - Method in class org.jmock.lib.concurrent.DeterministicScheduler
  Runs time forwards by a given duration, executing any commands scheduled for execution during that time period, and any background tasks spawned by the scheduled tasks.
toString() - Method in class org.hamcrest.BaseMatcher
toString(SelfDescribing) - Static method in class org.hamcrest.StringDescription
  Return the description of a `SelfDescribing` object as a String.
toString() - Method in class org.hamcrest.StringDescription
  Returns the description as a string.
toString() - Method in error org.jmock.api.ExpectationError
toString() - Method in class org.jmock.api.Invocation
translate(ExpectationError) - Method in interface org.jmock.api.ExpectationErrorTranslator
  Translates the given `ExpectationError` into an error type compatible with another testing framework.
translate(ExpectationError) - Method in class org.jmock.integration.junit3.JUnit3ErrorTranslator
translate(ExpectationError) - Method in class org.jmock.lib.AssertionErrorTranslator
translate(ExpectationError) - Method in class org.jmock.lib.IdentityExpectationErrorTranslator
typeCompatibleWith(Class<T>) - Static method in class org.hamcrest.Matchers
typeCompatibleWith(Class<T>) - Static method in class org.hamcrest.object.IsCompatibleType
TypeSafeMatcher<T> - Class in org.hamcrest
  Convenient base class for Matchers that require a non-null value of a specific type.
TypeSafeMatcher() - Constructor for class org.hamcrest.TypeSafeMatcher
TypeSafeMatcher(Class<T>) - Constructor for class org.hamcrest.TypeSafeMatcher

## U

UnsupportedSynchronousOperationException - Exception in org.jmock.lib.concurrent
  Thrown to report that a `DeterministicScheduler` has been asked to perform a blocking wait, which is not supported.
UnsupportedSynchronousOperationException(String) - Constructor for exception org.jmock.lib.concurrent.UnsupportedSynchronousOperationException

## V

verify() - Method in class org.jmock.integration.junit3.VerifyingTestCase
VerifyingTestCase - Class in org.jmock.integration.junit3
  A `TestCase` that verifies postconditions after the test has run and before the fixture has been torn down.
VerifyingTestCase() - Constructor for class org.jmock.integration.junit3.VerifyingTestCase
VerifyingTestCase(String) - Constructor for class org.jmock.integration.junit3.VerifyingTestCase
VoidAction - Class in org.jmock.lib.action
  Returns nothing from a void method.
VoidAction() - Constructor for class org.jmock.lib.action.VoidAction

## W

when(StatePredicate) - Method in class org.jmock.Expectations
where(String, Object) - Method in class org.jmock.lib.script.ScriptedAction
  Defines a variable that can be referred to by the script.
will(Action) - Method in class org.jmock.Expectations
will(Action) - Method in interface org.jmock.syntax.ActionClause
with(Matcher<T>) - Method in class org.jmock.Expectations
with(Matcher<Boolean>) - Method in class org.jmock.Expectations
with(Matcher<Byte>) - Method in class org.jmock.Expectations
with(Matcher<Short>) - Method in class org.jmock.Expectations
with(Matcher<Character>) - Method in class org.jmock.Expectations
with(Matcher<Integer>) - Method in class org.jmock.Expectations
with(Matcher<Long>) - Method in class org.jmock.Expectations
with(Matcher<Float>) - Method in class org.jmock.Expectations
with(Matcher<Double>) - Method in class org.jmock.Expectations
with(boolean) - Method in class org.jmock.Expectations
with(byte) - Method in class org.jmock.Expectations
with(short) - Method in class org.jmock.Expectations
with(char) - Method in class org.jmock.Expectations
with(int) - Method in class org.jmock.Expectations
with(long) - Method in class org.jmock.Expectations
with(float) - Method in class org.jmock.Expectations
with(double) - Method in class org.jmock.Expectations
with(T) - Method in class org.jmock.Expectations
with(Matcher<T>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Boolean>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Byte>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Short>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Integer>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Long>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Float>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<Double>) - Method in interface org.jmock.syntax.ArgumentConstraintPhrases
with(Matcher<?>...) - Method in interface org.jmock.syntax.ParametersClause
withNoArguments() - Method in interface org.jmock.syntax.ParametersClause
wrapMethod(Method) - Method in class org.jmock.integration.junit4.JMock

## X

X - Class in org.hamcrest.text
X() - Constructor for class org.hamcrest.text.X

## _

_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in interface org.hamcrest.Matcher
  This method simply acts a friendly reminder not to implement Matcher directly and instead extend BaseMatcher.

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