Index

A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accepts(Injection) - Method in class org.easymock.internal.InjectionTarget
Can the given Injection be applied to this InjectionTarget?
add(Result, Range) - Method in class org.easymock.internal.Results
 
addActual(Invocation) - Method in interface org.easymock.internal.IMocksBehavior
 
addActual(Invocation) - Method in class org.easymock.internal.MocksBehavior
 
addActual(Invocation) - Method in class org.easymock.internal.UnorderedBehavior
 
addCapture(Captures<Object>, Object) - Method in class org.easymock.internal.Invocation
 
addExpected(ExpectedInvocation, Result, Range) - Method in interface org.easymock.internal.IMocksBehavior
 
addExpected(ExpectedInvocation, Result, Range) - Method in class org.easymock.internal.MocksBehavior
 
addExpected(ExpectedInvocation, Result, Range) - Method in class org.easymock.internal.UnorderedBehavior
 
addInjection(Injection) - Method in class org.easymock.internal.InjectionPlan
Add an Injection to this container.
addMockedMethod(Method) - Method in interface org.easymock.IMockBuilder
Adds a method to be mocked in the testing class.
addMockedMethod(Method) - Method in class org.easymock.internal.MockBuilder
 
addMockedMethod(String) - Method in interface org.easymock.IMockBuilder
Adds a method to be mocked in the testing class.
addMockedMethod(String) - Method in class org.easymock.internal.MockBuilder
 
addMockedMethod(String, Class<?>...) - Method in interface org.easymock.IMockBuilder
Adds a method to be mocked in the testing class.
addMockedMethod(String, Class<?>...) - Method in class org.easymock.internal.MockBuilder
 
addMockedMethods(Method...) - Method in interface org.easymock.IMockBuilder
Adds methods to be mocked in the testing class.
addMockedMethods(Method...) - Method in class org.easymock.internal.MockBuilder
 
addMockedMethods(String...) - Method in interface org.easymock.IMockBuilder
Adds methods to be mocked in the testing class.
addMockedMethods(String...) - Method in class org.easymock.internal.MockBuilder
 
addStub(ExpectedInvocation, Result) - Method in interface org.easymock.internal.IMocksBehavior
 
addStub(ExpectedInvocation, Result) - Method in class org.easymock.internal.MocksBehavior
 
addTestSubjectField(Field) - Method in class org.easymock.internal.InjectionPlan
Add a field that should be treated as a test subject injection target.
afterInvocation(IInvokedMethod, ITestResult) - Method in class org.easymock.EasyMockListener
 
ALL - Enum constant in enum class org.easymock.CaptureType
Will capture, in order, the arguments of each matching calls.
allowsExpectedInvocation(ExpectedInvocation, boolean) - Method in class org.easymock.internal.UnorderedBehavior
 
and(boolean, boolean) - Static method in class org.easymock.EasyMock
Expects a boolean that matches both given expectations.
and(byte, byte) - Static method in class org.easymock.EasyMock
Expects a byte that matches both given expectations.
and(char, char) - Static method in class org.easymock.EasyMock
Expects a char that matches both given expectations.
and(double, double) - Static method in class org.easymock.EasyMock
Expects a double that matches both given expectations.
and(float, float) - Static method in class org.easymock.EasyMock
Expects a float that matches both given expectations.
and(int, int) - Static method in class org.easymock.EasyMock
Expects an int that matches both given expectations.
and(long, long) - Static method in class org.easymock.EasyMock
Expects a long that matches both given expectations.
and(short, short) - Static method in class org.easymock.EasyMock
Expects a short that matches both given expectations.
and(T, T) - Static method in class org.easymock.EasyMock
Expects an Object that matches both given expectations.
And - Class in org.easymock.internal.matchers
Matches if all given argument matchers match.
And(List<IArgumentMatcher>) - Constructor for class org.easymock.internal.matchers.And
Creates a new And matcher from a list of matchers that should match altogether.
andAnswer(IAnswer<?>) - Method in interface org.easymock.internal.IMocksControlState
 
andAnswer(IAnswer<?>) - Method in class org.easymock.internal.MocksControl
 
andAnswer(IAnswer<?>) - Method in class org.easymock.internal.RecordState
 
andAnswer(IAnswer<?>) - Method in class org.easymock.internal.ReplayState
 
andAnswer(IAnswer<? extends T>) - Method in interface org.easymock.IExpectationSetters
Sets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
andDelegateTo(Object) - Method in interface org.easymock.IExpectationSetters
Sets an object implementing the same interface as the mock.
andDelegateTo(Object) - Method in interface org.easymock.internal.IMocksControlState
 
andDelegateTo(Object) - Method in class org.easymock.internal.MocksControl
 
andDelegateTo(Object) - Method in class org.easymock.internal.RecordState
 
andDelegateTo(Object) - Method in class org.easymock.internal.ReplayState
 
andReturn(Object) - Method in interface org.easymock.internal.IMocksControlState
 
andReturn(Object) - Method in class org.easymock.internal.MocksControl
 
andReturn(Object) - Method in class org.easymock.internal.RecordState
 
andReturn(Object) - Method in class org.easymock.internal.ReplayState
 
andReturn(T) - Method in interface org.easymock.IExpectationSetters
Sets a return value that will be returned for the expected invocation.
AndroidClassProxyFactory - Class in org.easymock.internal
Mocks concrete classes for Android's runtime by generating dex files.
AndroidClassProxyFactory() - Constructor for class org.easymock.internal.AndroidClassProxyFactory
 
AndroidSupport - Class in org.easymock.internal
Android-specific support.
AndroidSupport() - Constructor for class org.easymock.internal.AndroidSupport
 
andStubAnswer(IAnswer<?>) - Method in interface org.easymock.internal.IMocksControlState
 
andStubAnswer(IAnswer<?>) - Method in class org.easymock.internal.MocksControl
 
andStubAnswer(IAnswer<?>) - Method in class org.easymock.internal.RecordState
 
andStubAnswer(IAnswer<?>) - Method in class org.easymock.internal.ReplayState
 
andStubAnswer(IAnswer<? extends T>) - Method in interface org.easymock.IExpectationSetters
Sets a stub object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
andStubDelegateTo(Object) - Method in interface org.easymock.IExpectationSetters
Sets a stub object implementing the same interface as the mock.
andStubDelegateTo(Object) - Method in interface org.easymock.internal.IMocksControlState
 
andStubDelegateTo(Object) - Method in class org.easymock.internal.MocksControl
 
andStubDelegateTo(Object) - Method in class org.easymock.internal.RecordState
 
andStubDelegateTo(Object) - Method in class org.easymock.internal.ReplayState
 
andStubReturn(Object) - Method in interface org.easymock.internal.IMocksControlState
 
andStubReturn(Object) - Method in class org.easymock.internal.MocksControl
 
andStubReturn(Object) - Method in class org.easymock.internal.RecordState
 
andStubReturn(Object) - Method in class org.easymock.internal.ReplayState
 
andStubReturn(T) - Method in interface org.easymock.IExpectationSetters
Sets a stub return value that will be returned for the expected invocation.
andStubThrow(Throwable) - Method in interface org.easymock.IExpectationSetters
Sets a stub throwable that will be thrown for the expected invocation.
andStubThrow(Throwable) - Method in interface org.easymock.internal.IMocksControlState
 
andStubThrow(Throwable) - Method in class org.easymock.internal.MocksControl
 
andStubThrow(Throwable) - Method in class org.easymock.internal.RecordState
 
andStubThrow(Throwable) - Method in class org.easymock.internal.ReplayState
 
andThrow(Throwable) - Method in interface org.easymock.IExpectationSetters
Sets a throwable that will be thrown for the expected invocation.
andThrow(Throwable) - Method in interface org.easymock.internal.IMocksControlState
 
andThrow(Throwable) - Method in class org.easymock.internal.MocksControl
 
andThrow(Throwable) - Method in class org.easymock.internal.RecordState
 
andThrow(Throwable) - Method in class org.easymock.internal.ReplayState
 
andVoid() - Method in interface org.easymock.IExpectationSetters
Records a call but returns nothing.
andVoid() - Method in interface org.easymock.internal.IMocksControlState
 
andVoid() - Method in class org.easymock.internal.MocksControl
 
andVoid() - Method in class org.easymock.internal.RecordState
 
andVoid() - Method in class org.easymock.internal.ReplayState
 
answer() - Method in interface org.easymock.IAnswer
Is called by EasyMock to answer an expected call.
answer() - Method in class org.easymock.internal.Result
 
Any - Class in org.easymock.internal.matchers
Matches any argument.
ANY - Static variable in class org.easymock.internal.matchers.Any
 
anyBoolean() - Static method in class org.easymock.EasyMock
Expects any boolean argument.
anyByte() - Static method in class org.easymock.EasyMock
Expects any byte argument.
anyChar() - Static method in class org.easymock.EasyMock
Expects any char argument.
anyDouble() - Static method in class org.easymock.EasyMock
Expects any double argument.
anyFloat() - Static method in class org.easymock.EasyMock
Expects any float argument.
anyInt() - Static method in class org.easymock.EasyMock
Expects any int argument.
anyLong() - Static method in class org.easymock.EasyMock
Expects any long argument.
anyObject() - Static method in class org.easymock.EasyMock
Expects any Object argument.
anyObject(Class<T>) - Static method in class org.easymock.EasyMock
Expects any Object argument.
anyShort() - Static method in class org.easymock.EasyMock
Expects any short argument.
anyString() - Static method in class org.easymock.EasyMock
Expect any string whatever its content is.
anyTimes() - Method in interface org.easymock.IExpectationSetters
Expect the last invocation any times.
anyTimes() - Method in class org.easymock.internal.MocksControl
 
appendArgument(Object, StringBuffer) - Static method in class org.easymock.internal.ArgumentToString
 
appendTo(StringBuffer) - Method in interface org.easymock.IArgumentMatcher
Appends a string representation of this matcher to the given buffer.
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.And
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Any
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.ArrayEquals
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Captures
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Compare
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.CompareTo
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Contains
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.EndsWith
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Equals
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.EqualsWithDelta
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Find
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.InstanceOf
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Matches
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Not
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.NotNull
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Null
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Or
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.Same
 
appendTo(StringBuffer) - Method in class org.easymock.internal.matchers.StartsWith
 
appendTo(StringBuilder, int) - Method in class org.easymock.internal.ErrorMessage
Add the error message to the buffer.
apply(Statement, Description) - Method in class org.easymock.EasyMockRule
 
argumentsToString(Object...) - Static method in class org.easymock.internal.ArgumentToString
Returns a string representation of the arguments.
argumentToString(Object) - Static method in class org.easymock.internal.ArgumentToString
Converts an argument to a String using ArgumentToString.appendArgument(Object, StringBuffer)
ArgumentToString - Class in org.easymock.internal
Utility class to convert method arguments to Strings
ArrayEquals - Class in org.easymock.internal.matchers
Matches if the argument is an array where the elements are equal to the given array.
ArrayEquals(Object) - Constructor for class org.easymock.internal.matchers.ArrayEquals
 
aryEq(boolean[]) - Static method in class org.easymock.EasyMock
Expects a boolean array that is equal to the given array, i.e.
aryEq(byte[]) - Static method in class org.easymock.EasyMock
Expects a byte array that is equal to the given array, i.e.
aryEq(char[]) - Static method in class org.easymock.EasyMock
Expects a char array that is equal to the given array, i.e.
aryEq(double[]) - Static method in class org.easymock.EasyMock
Expects a double array that is equal to the given array, i.e.
aryEq(float[]) - Static method in class org.easymock.EasyMock
Expects a float array that is equal to the given array, i.e.
aryEq(int[]) - Static method in class org.easymock.EasyMock
Expects an int array that is equal to the given array, i.e.
aryEq(long[]) - Static method in class org.easymock.EasyMock
Expects a long array that is equal to the given array, i.e.
aryEq(short[]) - Static method in class org.easymock.EasyMock
Expects a short array that is equal to the given array, i.e.
aryEq(T[]) - Static method in class org.easymock.EasyMock
Expects an Object array that is equal to the given array, i.e.
AssertionErrorWrapper - Exception Class in org.easymock.internal
Wraps an AssertionError that was thrown by a method invocation so that EasyMock knows the difference between an invocation exception and an real unexpected one.
AssertionErrorWrapper(AssertionError) - Constructor for exception class org.easymock.internal.AssertionErrorWrapper
 
assertRecordState() - Method in interface org.easymock.internal.IMocksControlState
 
assertRecordState() - Method in class org.easymock.internal.RecordState
 
assertRecordState() - Method in class org.easymock.internal.ReplayState
 
asStub() - Method in interface org.easymock.IExpectationSetters
Sets stub behavior for the expected invocation (this is needed for void methods).
asStub() - Method in interface org.easymock.internal.IMocksControlState
 
asStub() - Method in class org.easymock.internal.MocksControl
 
asStub() - Method in class org.easymock.internal.RecordState
 
asStub() - Method in class org.easymock.internal.ReplayState
 
AT_LEAST_ONCE - Static variable in class org.easymock.internal.MocksControl
One or more calls.
atLeastOnce() - Method in interface org.easymock.IExpectationSetters
Expect the last invocation at least once.
atLeastOnce() - Method in class org.easymock.internal.MocksControl
 

B

beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.easymock.EasyMockListener
 
BridgeMethodResolver - Class in org.easymock.internal
Code taken from the Spring framework.

C

callback(Runnable) - Method in class org.easymock.internal.ReplayState
 
capture(Capture<T>) - Static method in class org.easymock.EasyMock
Expect any object but captures it for later use.
Capture<T> - Class in org.easymock
Will contain what was captured by the capture() matcher.
captureBoolean(Capture<Boolean>) - Static method in class org.easymock.EasyMock
Expect any boolean but captures it for later use.
captureByte(Capture<Byte>) - Static method in class org.easymock.EasyMock
Expect any byte but captures it for later use.
captureChar(Capture<Character>) - Static method in class org.easymock.EasyMock
Expect any char but captures it for later use.
captureDouble(Capture<Double>) - Static method in class org.easymock.EasyMock
Expect any double but captures it for later use.
captureFloat(Capture<Float>) - Static method in class org.easymock.EasyMock
Expect any float but captures it for later use.
captureInt(Capture<Integer>) - Static method in class org.easymock.EasyMock
Expect any int but captures it for later use.
captureLong(Capture<Long>) - Static method in class org.easymock.EasyMock
Expect any long but captures it for later use.
Captures<T> - Class in org.easymock.internal.matchers
Captures the argument to retrieve it later and matches anything.
Captures(Capture<T>) - Constructor for class org.easymock.internal.matchers.Captures
 
CaptureType - Enum Class in org.easymock
Defines how arguments will be captured by a Capture object.
checkIsUsedInOneThread(boolean) - Method in interface org.easymock.IMocksControl
Check that the mock is called from only one thread
checkIsUsedInOneThread(boolean) - Method in interface org.easymock.internal.IMocksControlState
 
checkIsUsedInOneThread(boolean) - Method in class org.easymock.internal.MocksControl
 
checkIsUsedInOneThread(boolean) - Method in class org.easymock.internal.RecordState
 
checkIsUsedInOneThread(boolean) - Method in class org.easymock.internal.ReplayState
 
checkIsUsedInOneThread(Object, boolean) - Static method in class org.easymock.EasyMock
Tell that the mock should be used in only one thread.
checkOrder(boolean) - Method in interface org.easymock.IMocksControl
Switches order checking on and off.
checkOrder(boolean) - Method in interface org.easymock.internal.IMocksBehavior
 
checkOrder(boolean) - Method in interface org.easymock.internal.IMocksControlState
 
checkOrder(boolean) - Method in class org.easymock.internal.MocksBehavior
 
checkOrder(boolean) - Method in class org.easymock.internal.MocksControl
 
checkOrder(boolean) - Method in class org.easymock.internal.RecordState
 
checkOrder(boolean) - Method in class org.easymock.internal.ReplayState
 
checkOrder(Object, boolean) - Static method in class org.easymock.EasyMock
Switches order checking of the given mock object (more exactly: the control of the mock object) the on and off.
checkThreadSafety() - Method in interface org.easymock.internal.IMocksBehavior
 
checkThreadSafety() - Method in class org.easymock.internal.MocksBehavior
 
ClassInstantiatorFactory - Class in org.easymock.internal
Factory returning a IClassInstantiatorfor the current JVM
ClassMockingData - Class in org.easymock.internal
Class containing the data required for a class mock to work.
ClassMockingData(InvocationHandler, Method...) - Constructor for class org.easymock.internal.ClassMockingData
 
ClassProxyFactory - Class in org.easymock.internal
Factory generating a mock for a class.
ClassProxyFactory() - Constructor for class org.easymock.internal.ClassProxyFactory
 
ClassProxyFactory.MockMethodInterceptor - Class in org.easymock.internal
 
clearCaptures() - Method in class org.easymock.internal.Invocation
 
cmp(T, Comparator<? super T>, LogicalOperator) - Static method in class org.easymock.EasyMock
Expects an argument that will be compared using the provided comparator.
cmpEq(T) - Static method in class org.easymock.EasyMock
Expects a comparable argument equals to the given value according to their compareTo method.
Compare<T> - Class in org.easymock.internal.matchers
Matches if the argument, when compared (Comparator.compare()), agrees with the logical operator.
Compare(T, Comparator<? super T>, LogicalOperator) - Constructor for class org.easymock.internal.matchers.Compare
 
CompareEqual<T> - Class in org.easymock.internal.matchers
Matches if the argument is equal when compared (as in Comparable.compareTo() == 0) to the given value.
CompareEqual(Comparable<T>) - Constructor for class org.easymock.internal.matchers.CompareEqual
 
CompareTo<T> - Class in org.easymock.internal.matchers
Base class for matchers that are comparing a value to another.
CompareTo(Comparable<T>) - Constructor for class org.easymock.internal.matchers.CompareTo
 
ConstructorArgs - Class in org.easymock
Class wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructors.
ConstructorArgs(Constructor<?>, Object...) - Constructor for class org.easymock.ConstructorArgs
 
contains(int) - Method in class org.easymock.internal.Range
 
contains(String) - Static method in class org.easymock.EasyMock
Expects a string that contains the given substring.
Contains - Class in org.easymock.internal.matchers
Matches if the argument is a string containing a given substring.
Contains(String) - Constructor for class org.easymock.internal.matchers.Contains
 
controls - Variable in class org.easymock.EasyMockSupport
List of all controls created
createAnswerResult(IAnswer<?>) - Static method in class org.easymock.internal.Result
 
createControl() - Static method in class org.easymock.EasyMock
Creates a control, order checking is disabled by default.
createControl() - Method in class org.easymock.EasyMockSupport
Creates a control, order checking is disabled by default.
createControl(MockType) - Static method in class org.easymock.EasyMock
Creates a control of the requested type.
createControl(MockType) - Method in class org.easymock.EasyMockSupport
Creates a control of the given type.
createDelegatingResult(Object) - Static method in class org.easymock.internal.Result
 
createMock() - Method in interface org.easymock.IMockBuilder
Create a default mock from this builder.
createMock() - Method in class org.easymock.internal.MockBuilder
 
createMock(Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default.
createMock(Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default.
createMock(Class<T>) - Method in interface org.easymock.IMocksControl
Same as IMocksControl.mock(Class) but using the old naming.
createMock(Class<T>) - Method in class org.easymock.internal.MocksControl
 
createMock(String) - Method in interface org.easymock.IMockBuilder
Create named mock from the provided mock control using the arguments passed to the builder.
createMock(String) - Method in class org.easymock.internal.MockBuilder
 
createMock(String, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default.
createMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default.
createMock(String, Class<T>) - Method in interface org.easymock.IMocksControl
Same as IMocksControl.mock(String, Class) but using the old naming.
createMock(String, Class<T>) - Method in class org.easymock.internal.MocksControl
 
createMock(String, Class<T>, ConstructorArgs, Method...) - Method in interface org.easymock.IMocksControl
createMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.internal.MocksControl
 
createMock(String, IMocksControl) - Method in interface org.easymock.IMockBuilder
Create named mock from the provided mock control using the arguments passed to the builder.
createMock(String, IMocksControl) - Method in class org.easymock.internal.MockBuilder
 
createMock(String, MockType) - Method in interface org.easymock.IMockBuilder
Create a named mock of the request type from this builder.
createMock(String, MockType) - Method in class org.easymock.internal.MockBuilder
 
createMock(String, MockType, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object, of the requested type and name, that implements the given interface or extends the given class
createMock(String, MockType, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object of the requested type that implements the given interface or extends the given class
createMock(IMocksControl) - Method in interface org.easymock.IMockBuilder
Create mock from the provided mock control using the arguments passed to the builder.
createMock(IMocksControl) - Method in class org.easymock.internal.MockBuilder
 
createMock(MockType) - Method in interface org.easymock.IMockBuilder
Create mock of the request type from this builder.
createMock(MockType) - Method in class org.easymock.internal.MockBuilder
 
createMock(MockType, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object, of the requested type, that implements the given interface or extends the given class.
createMock(MockType, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object of the requested type that implements the given interface or extends the given class
createMockBuilder(Class<?>) - Static method in class org.easymock.EasyMock
Create a mock builder allowing to create a partial mock for the given class or interface.
createMockBuilder(Class<T>) - Method in class org.easymock.EasyMockSupport
Create a mock builder allowing to create a partial mock for the given class or interface.
createNiceControl() - Static method in class org.easymock.EasyMock
Creates a control, order checking is disabled by default, and the mock objects created by this control will return 0, null or false for unexpected invocations.
createNiceControl() - Method in class org.easymock.EasyMockSupport
Creates a control, order checking is disabled by default, and the mock objects created by this control will return 0, null or false for unexpected invocations.
createNiceMock() - Method in interface org.easymock.IMockBuilder
Create a nice mock from this builder.
createNiceMock() - Method in class org.easymock.internal.MockBuilder
 
createNiceMock(Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
createNiceMock(Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
createNiceMock(String) - Method in interface org.easymock.IMockBuilder
Create a named nice mock from this builder.
createNiceMock(String) - Method in class org.easymock.internal.MockBuilder
 
createNiceMock(String, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
createNiceMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
createProxy(Class<T>, InvocationHandler, Method[], ConstructorArgs) - Method in class org.easymock.internal.AndroidClassProxyFactory
 
createProxy(Class<T>, InvocationHandler, Method[], ConstructorArgs) - Method in class org.easymock.internal.ClassProxyFactory
 
createProxy(Class<T>, InvocationHandler, Method[], ConstructorArgs) - Method in interface org.easymock.internal.IProxyFactory
 
createProxy(Class<T>, InvocationHandler, Method[], ConstructorArgs) - Method in class org.easymock.internal.JavaProxyFactory
 
createReturnResult(Object) - Static method in class org.easymock.internal.Result
 
createStrictControl() - Static method in class org.easymock.EasyMock
Creates a control, order checking is enabled by default.
createStrictControl() - Method in class org.easymock.EasyMockSupport
Creates a control, order checking is enabled by default.
createStrictMock() - Method in interface org.easymock.IMockBuilder
Create a strict mock from this builder.
createStrictMock() - Method in class org.easymock.internal.MockBuilder
 
createStrictMock(Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is enabled by default.
createStrictMock(Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is enabled by default.
createStrictMock(String) - Method in interface org.easymock.IMockBuilder
Create a named strict mock from this builder.
createStrictMock(String) - Method in class org.easymock.internal.MockBuilder
 
createStrictMock(String, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is enabled by default.
createStrictMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is enabled by default.
createThrowResult(Throwable) - Static method in class org.easymock.internal.Result
 

D

DEFAULT - Enum constant in enum class org.easymock.MockType
A default mock expects only recorded calls but in any order
DefaultClassInstantiator - Class in org.easymock.internal
Default class instantiator that is pretty limited.
DefaultClassInstantiator() - Constructor for class org.easymock.internal.DefaultClassInstantiator
 
DISABLE_CLASS_MOCKING - Static variable in class org.easymock.EasyMock
Since EasyMock 3.0, EasyMock can perform class mocking directly without using the class extension.

E

EasyMock - Class in org.easymock
Main EasyMock class.
EasyMockExtension - Class in org.easymock
JUnit 5 replaced the previous RunWith annotation (which made use of EasyMockRunner) with the new ExtendWith annotation.
EasyMockExtension() - Constructor for class org.easymock.EasyMockExtension
 
EasyMockListener - Class in org.easymock
 
EasyMockListener() - Constructor for class org.easymock.EasyMockListener
 
EasyMockProperties - Class in org.easymock.internal
Contains properties used by EasyMock to change its default behavior.
EasyMockRule - Class in org.easymock
JUnit Rule used to process Mock and TestSubject annotations.
EasyMockRule(Object) - Constructor for class org.easymock.EasyMockRule
 
EasyMockRunner - Class in org.easymock
JUnit runner used to process Mock and TestSubject annotations.
EasyMockRunner(Class<?>) - Constructor for class org.easymock.EasyMockRunner
 
EasyMockStatement - Class in org.easymock.internal
JUnit Statement for use by JUnit Rule or JUnit Runner to process Mock and TestSubject annotations.
EasyMockStatement(Statement, Object) - Constructor for class org.easymock.internal.EasyMockStatement
 
EasyMockSupport - Class in org.easymock
Helper class to keep track of mocks easily.
EasyMockSupport() - Constructor for class org.easymock.EasyMockSupport
 
emptyReturnValueFor(Class<?>) - Static method in class org.easymock.internal.RecordState
 
ENABLE_THREAD_SAFETY_CHECK_BY_DEFAULT - Static variable in class org.easymock.EasyMock
Since EasyMock 2.4, by default, a mock wasn't allowed to be called in multiple threads unless it was made thread-safe (See EasyMock.makeThreadSafe(Object, boolean) method).
endsWith(String) - Static method in class org.easymock.EasyMock
Expects a string that ends with the given suffix.
EndsWith - Class in org.easymock.internal.matchers
Matches if the argument is a string ending with a given suffix.
EndsWith(String) - Constructor for class org.easymock.internal.matchers.EndsWith
 
eq(boolean) - Static method in class org.easymock.EasyMock
Expects a boolean that is equal to the given value.
eq(byte) - Static method in class org.easymock.EasyMock
Expects a byte that is equal to the given value.
eq(char) - Static method in class org.easymock.EasyMock
Expects a char that is equal to the given value.
eq(double) - Static method in class org.easymock.EasyMock
Expects a double that is equal to the given value.
eq(double, double) - Static method in class org.easymock.EasyMock
Expects a double that has an absolute difference to the given value that is less than the given delta.
eq(float) - Static method in class org.easymock.EasyMock
Expects a float that is equal to the given value.
eq(float, float) - Static method in class org.easymock.EasyMock
Expects a float that has an absolute difference to the given value that is less than the given delta.
eq(int) - Static method in class org.easymock.EasyMock
Expects an int that is equal to the given value.
eq(long) - Static method in class org.easymock.EasyMock
Expects a long that is equal to the given value.
eq(short) - Static method in class org.easymock.EasyMock
Expects a short that is equal to the given value.
eq(T) - Static method in class org.easymock.EasyMock
Expects an Object that is equal to the given value.
EQUAL - Enum constant in enum class org.easymock.LogicalOperator
 
equals(Object) - Method in class org.easymock.internal.ExpectedInvocation
 
equals(Object) - Method in class org.easymock.internal.Invocation
 
equals(Object) - Method in class org.easymock.internal.matchers.Equals
 
Equals - Class in org.easymock.internal.matchers
Matches if the argument is equal to the given value.
Equals(Object) - Constructor for class org.easymock.internal.matchers.Equals
 
EqualsWithDelta - Class in org.easymock.internal.matchers
Matches if the argument is a number equal to the given value with some tolerance equal to delta.
EqualsWithDelta(Number, Number) - Constructor for class org.easymock.internal.matchers.EqualsWithDelta
 
ErrorMessage - Class in org.easymock.internal
The full content of an error message reporting to the user.
ErrorMessage(boolean, String, int) - Constructor for class org.easymock.internal.ErrorMessage
 
evaluate() - Method in class org.easymock.internal.EasyMockStatement
 
expect(T) - Static method in class org.easymock.EasyMock
Returns the expectation setter for the last expected invocation in the current thread.
expectedCount() - Method in class org.easymock.internal.Range
 
ExpectedInvocation - Class in org.easymock.internal
One expected invocation.
ExpectedInvocation(Invocation, List<IArgumentMatcher>) - Constructor for class org.easymock.internal.ExpectedInvocation
 
ExpectedInvocationAndResult - Class in org.easymock.internal
One expected invocation and its result.
ExpectedInvocationAndResult(ExpectedInvocation, Result) - Constructor for class org.easymock.internal.ExpectedInvocationAndResult
 
ExpectedInvocationAndResults - Class in org.easymock.internal
The pair of an expected invocation and its results.
ExpectedInvocationAndResults(ExpectedInvocation, Results) - Constructor for class org.easymock.internal.ExpectedInvocationAndResults
 
expectLastCall() - Static method in class org.easymock.EasyMock
Returns the expectation setter for the last expected invocation in the current thread.

F

fieldName() - Element in annotation interface org.easymock.Mock
Name of the test subject field to which this mock will be assigned.
find(String) - Static method in class org.easymock.EasyMock
Expects a string that contains a substring that matches the given regular expression.
Find - Class in org.easymock.internal.matchers
Matches if the argument is a string in which a regex can be found.
Find(String) - Constructor for class org.easymock.internal.matchers.Find
 
findBridgedMethod(Method) - Static method in class org.easymock.internal.BridgeMethodResolver
Find the original method for the supplied bridge Method.
findMethod(Class<?>, String, Predicate<Method>) - Static method in class org.easymock.internal.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and no parameters.
findMethod(Class<?>, String, Predicate<Method>, Class<?>...) - Static method in class org.easymock.internal.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and parameter types.
FIRST - Enum constant in enum class org.easymock.CaptureType
Will capture the argument of the first matching call.

G

geq(byte) - Static method in class org.easymock.EasyMock
Expects a byte argument greater than or equal to the given value.
geq(double) - Static method in class org.easymock.EasyMock
Expects a double argument greater than or equal to the given value.
geq(float) - Static method in class org.easymock.EasyMock
Expects a float argument greater than or equal to the given value.
geq(int) - Static method in class org.easymock.EasyMock
Expects an int argument greater than or equal to the given value.
geq(long) - Static method in class org.easymock.EasyMock
Expects a long argument greater than or equal to the given value.
geq(short) - Static method in class org.easymock.EasyMock
Expects a short argument greater than or equal to the given value.
geq(T) - Static method in class org.easymock.EasyMock
Expects a comparable argument greater than or equal the given value.
getActualCount() - Method in class org.easymock.internal.ErrorMessage
How many time an expected invocation was actually invoked.
getAnnotation() - Method in class org.easymock.internal.Injection
Gets the annotation describing this mock instance.
getArgsForTypes(Class<?>[]) - Method in class org.easymock.internal.DefaultClassInstantiator
Get some default instances of provided classes
getArguments() - Method in class org.easymock.internal.Invocation
Returns the arguments passed to the method invocation.
getAssertionError() - Method in exception class org.easymock.internal.AssertionErrorWrapper
 
getCallCount() - Method in class org.easymock.internal.Results
 
getConstructor() - Method in class org.easymock.ConstructorArgs
 
getConstructor(Class<T>, Object...) - Static method in class org.easymock.internal.ReflectionUtils
Returns a constructor that contains objs as arguments.
getConstructorToUse(Class<?>) - Method in class org.easymock.internal.DefaultClassInstantiator
Return the constructor considered the best to use with this class.
getControl() - Method in class org.easymock.internal.MockInvocationHandler
 
getControl(Object) - Static method in class org.easymock.internal.MocksControl
 
getCurrentArgument(int) - Static method in class org.easymock.EasyMock
 
getCurrentArguments() - Static method in class org.easymock.EasyMock
Returns the arguments of the current mock method call, if inside an IAnswer callback - be careful here, reordering parameters of method changes the semantics of your tests.
getCurrentInvocation() - Static method in class org.easymock.internal.LastControl
 
getDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class org.easymock.internal.ReflectionUtils
Basically calls getDeclaredMethod on a Class but wraps the NoSuchMethodException into a Runtime.
getDefaultMethods(Class<?>) - Static method in class org.easymock.internal.ReflectionUtils
Return all default methods of an interface and it's inherited interface.
getDelegate() - Method in class org.easymock.internal.ObjectMethodsFilter
 
getEasyMockProperty(String) - Static method in class org.easymock.EasyMock
Get the current value for an EasyMock property
getEmptyValue(Class<?>) - Static method in class org.easymock.internal.PrimitiveUtils
 
getExpected() - Method in class org.easymock.internal.matchers.Equals
 
getExpectedInvocation() - Method in class org.easymock.internal.ExpectedInvocationAndResult
 
getExpectedInvocation() - Method in class org.easymock.internal.ExpectedInvocationAndResults
 
getInitArgs() - Method in class org.easymock.ConstructorArgs
 
getInstance() - Static method in class org.easymock.internal.EasyMockProperties
 
getInstantiator() - Static method in class org.easymock.internal.ClassInstantiatorFactory
Returns a class instantiator suitable for the current JVM
getInvocationHandler(Object) - Method in class org.easymock.internal.AndroidClassProxyFactory
 
getInvocationHandler(Object) - Method in class org.easymock.internal.ClassProxyFactory
 
getInvocationHandler(Object) - Method in interface org.easymock.internal.IProxyFactory
Returns the invocation handler for mock;
getInvocationHandler(Object) - Method in class org.easymock.internal.JavaProxyFactory
 
getInvocationHandler(Object) - Static method in class org.easymock.internal.MocksControl
 
getJVM() - Static method in class org.easymock.internal.ClassInstantiatorFactory
Returns the current JVM as specified in the System properties
getJVMSpecificationVersion() - Static method in class org.easymock.internal.ClassInstantiatorFactory
Returns the current JVM specification version (1.5, 1.4, 1.3)
getMaximum() - Method in class org.easymock.internal.Range
 
getMessage() - Method in class org.easymock.internal.ErrorMessage
The actual invocation and its result.
getMessages(Invocation) - Method in class org.easymock.internal.UnorderedBehavior
 
getMethod() - Method in class org.easymock.internal.ExpectedInvocation
 
getMethod() - Method in class org.easymock.internal.Invocation
Returns the method invoked on the mock object.
getMethod() - Method in class org.easymock.internal.MethodSerializationWrapper
 
getMinimum() - Method in class org.easymock.internal.Range
 
getMock() - Method in class org.easymock.internal.Injection
Gets the mock instance for this injection.
getMock() - Method in class org.easymock.internal.Invocation
Returns the mock object on which the invocation was performed.
getMockAndMethodName() - Method in class org.easymock.internal.Invocation
 
getMockedClass(T) - Static method in class org.easymock.EasyMockSupport
Will return the class that was mocked if it's a mock or null otherwise.
getMockedClass(T) - Static method in class org.easymock.internal.MocksControl
Return the class of interface (depending on the mock type) that was mocked
getName() - Method in class org.easymock.internal.matchers.CompareEqual
 
getName() - Method in class org.easymock.internal.matchers.CompareTo
 
getName() - Method in class org.easymock.internal.matchers.GreaterOrEqual
 
getName() - Method in class org.easymock.internal.matchers.GreaterThan
 
getName() - Method in class org.easymock.internal.matchers.LessOrEqual
 
getName() - Method in class org.easymock.internal.matchers.LessThan
 
getName() - Method in class org.easymock.internal.ObjectMethodsFilter
 
getPrimitiveTypeNameFromWrapper(Class<?>) - Static method in class org.easymock.internal.PrimitiveUtils
 
getProperty(String) - Method in class org.easymock.internal.EasyMockProperties
Searches for the property with the specified key.
getProperty(String, String) - Method in class org.easymock.internal.EasyMockProperties
Searches for the property with the specified key.
getProxyFactory(Object) - Static method in class org.easymock.internal.MocksControl
 
getQualifiedInjections() - Method in class org.easymock.internal.InjectionPlan
Get all injections having fieldName qualifiers.
getQualifier() - Method in class org.easymock.internal.Injection
Get the field name qualifier for this injection.
getResult() - Method in class org.easymock.internal.ExpectedInvocationAndResult
 
getResults() - Method in class org.easymock.internal.ExpectedInvocationAndResults
 
getRuntimeException() - Method in exception class org.easymock.internal.RuntimeExceptionWrapper
 
getState() - Method in class org.easymock.internal.MocksControl
 
getSymbol() - Method in enum class org.easymock.LogicalOperator
 
getTargetField() - Method in class org.easymock.internal.InjectionTarget
Get the field to which injections will be assigned.
getTestSubjectFields() - Method in class org.easymock.internal.InjectionPlan
Get fields identified as test subjects to which injection of mocks should be attempted.
getThrowable() - Method in exception class org.easymock.internal.ThrowableWrapper
 
getType() - Method in class org.easymock.internal.MocksControl
 
getUnqualifiedInjections() - Method in class org.easymock.internal.InjectionPlan
Get all injections that do not have fieldName qualifiers.
getValue() - Method in class org.easymock.Capture
Return captured value.
getValues() - Method in class org.easymock.Capture
Return all captured values.
getWrapperType(Class<?>) - Static method in class org.easymock.internal.PrimitiveUtils
 
GREATER - Enum constant in enum class org.easymock.LogicalOperator
 
GREATER_OR_EQUAL - Enum constant in enum class org.easymock.LogicalOperator
 
GreaterOrEqual<T> - Class in org.easymock.internal.matchers
Matches if the argument is greater or equal to the given value.
GreaterOrEqual(Comparable<T>) - Constructor for class org.easymock.internal.matchers.GreaterOrEqual
 
GreaterThan<T> - Class in org.easymock.internal.matchers
Matches if the argument is strictly greater than the given value.
GreaterThan(Comparable<T>) - Constructor for class org.easymock.internal.matchers.GreaterThan
 
gt(byte) - Static method in class org.easymock.EasyMock
Expects a byte argument greater than the given value.
gt(double) - Static method in class org.easymock.EasyMock
Expects a double argument greater than the given value.
gt(float) - Static method in class org.easymock.EasyMock
Expects a float argument greater than the given value.
gt(int) - Static method in class org.easymock.EasyMock
Expects an int argument greater than the given value.
gt(long) - Static method in class org.easymock.EasyMock
Expects a long argument greater than the given value.
gt(short) - Static method in class org.easymock.EasyMock
Expects a short argument greater than the given value.
gt(T) - Static method in class org.easymock.EasyMock
Expects a comparable argument greater than the given value.

H

handler() - Method in class org.easymock.internal.ClassMockingData
 
hasCaptured() - Method in class org.easymock.Capture
 
hasFixedCount() - Method in class org.easymock.internal.Range
 
hashCode() - Method in class org.easymock.internal.ExpectedInvocation
 
hashCode() - Method in class org.easymock.internal.Invocation
 
hashCode() - Method in class org.easymock.internal.matchers.Equals
 
hasOpenCount() - Method in class org.easymock.internal.Range
 
hasResults() - Method in class org.easymock.internal.Results
 
hasValidCallCount() - Method in class org.easymock.internal.Results
 

I

IAnswer<T> - Interface in org.easymock
Used to answer expected calls.
IArgumentMatcher - Interface in org.easymock
Decides whether an actual argument is accepted.
IClassInstantiator - Interface in org.easymock.internal
Used to instantiate a given class.
IExpectationSetters<T> - Interface in org.easymock
Allows setting expectations for an associated expected invocation.
IgnoreAnimalSniffer - Annotation Interface in org.easymock.internal
 
IMockBuilder<T> - Interface in org.easymock
Helps the creation of partial mocks with EasyMock.
IMocksBehavior - Interface in org.easymock.internal
The behavior of a mock.
IMocksControl - Interface in org.easymock
Controls all the mock objects created by it.
IMocksControlState - Interface in org.easymock.internal
Current state of a mocks control.
inject(Object, Injection) - Method in class org.easymock.internal.InjectionTarget
Perform the injection against the given object set the "matched" status of the injection when successful.
Injection - Class in org.easymock.internal
Described mock instance for injection.
Injection(Object, Mock) - Constructor for class org.easymock.internal.Injection
Create instance containing the given mock and annotation.
InjectionPlan - Class in org.easymock.internal
Container for mock injections and test subject injection targets.
InjectionPlan() - Constructor for class org.easymock.internal.InjectionPlan
 
InjectionTarget - Class in org.easymock.internal
Applies an Injection to a target field.
InjectionTarget(Field) - Constructor for class org.easymock.internal.InjectionTarget
Create instance for injection to the given field.
injectMocks(Object) - Static method in class org.easymock.EasyMockSupport
Inject a mock to every fields annotated with Mock on the class passed in parameter.
injectMocks(Object) - Static method in class org.easymock.internal.Injector
Inject a mock to every fields annotated with Mock on the class passed in parameter.
Injector - Class in org.easymock.internal
Performs creation of mocks and injection into test subjects in accordance with annotations present in the host object.
Injector() - Constructor for class org.easymock.internal.Injector
 
InstanceOf - Class in org.easymock.internal.matchers
Matches if the argument is an instance of the given class.
InstanceOf(Class<?>) - Constructor for class org.easymock.internal.matchers.InstanceOf
 
interceptAbstract(Object, ClassMockingData, Object, Method, Object[]) - Static method in class org.easymock.internal.ClassProxyFactory.MockMethodInterceptor
 
interceptSuperCallable(Object, ClassMockingData, Method, Object[], Callable<?>) - Static method in class org.easymock.internal.ClassProxyFactory.MockMethodInterceptor
 
Invocation - Class in org.easymock.internal
Represents a method invocation on a mock object.
Invocation(Object, Method, Object[]) - Constructor for class org.easymock.internal.Invocation
 
invoke(Object, Method, Object[]) - Method in class org.easymock.internal.MockInvocationHandler
 
invoke(Object, Method, Object[]) - Method in class org.easymock.internal.ObjectMethodsFilter
 
invoke(Invocation) - Method in interface org.easymock.internal.IMocksControlState
 
invoke(Invocation) - Method in class org.easymock.internal.RecordState
 
invoke(Invocation) - Method in class org.easymock.internal.ReplayState
 
IProxyFactory - Interface in org.easymock.internal
Reponsible of creating proxies for objects.
is1_3Specifications() - Static method in class org.easymock.internal.ClassInstantiatorFactory
 
isA(Class<T>) - Static method in class org.easymock.EasyMock
Expects an object implementing the given class.
isAMock(Object) - Static method in class org.easymock.EasyMockSupport
Tells if this mock is an EasyMock mock.
isAndroid() - Static method in class org.easymock.internal.AndroidSupport
Returns true if the current platform is Android.
isCallerMockInvocationHandlerInvoke(Throwable) - Static method in class org.easymock.internal.ClassProxyFactory
 
isClassAvailable(String) - Static method in class org.easymock.internal.ReflectionUtils
Tells if a class is available in the classpath
isJavaIdentifier(String) - Static method in class org.easymock.internal.Invocation
 
isMatched() - Method in class org.easymock.internal.Injection
Is this injection matched by some injection target?
isMatching() - Method in class org.easymock.internal.ErrorMessage
If the actual invocation matched the expected invocation.
isMocked(Method) - Method in class org.easymock.internal.ClassMockingData
 
isNull() - Static method in class org.easymock.EasyMock
Expects null.
isNull(Class<T>) - Static method in class org.easymock.EasyMock
Expects null.
isPrimitiveWrapper(Class<?>) - Static method in class org.easymock.internal.PrimitiveUtils
 
isThreadSafe() - Method in interface org.easymock.internal.IMocksBehavior
 
isThreadSafe() - Method in class org.easymock.internal.MocksBehavior
 

J

JavaProxyFactory - Class in org.easymock.internal
Proxy factory creating proxies from an interface using the standard JDK proxy API.
JavaProxyFactory() - Constructor for class org.easymock.internal.JavaProxyFactory
 

L

LAST - Enum constant in enum class org.easymock.CaptureType
Will capture the argument of the last matching call.
lastControl() - Static method in class org.easymock.internal.LastControl
 
LastControl - Class in org.easymock.internal
The last mocks control used in the current thread.
leq(byte) - Static method in class org.easymock.EasyMock
Expects a byte argument less than or equal to the given value.
leq(double) - Static method in class org.easymock.EasyMock
Expects a double argument less than or equal to the given value.
leq(float) - Static method in class org.easymock.EasyMock
Expects a float argument less than or equal to the given value.
leq(int) - Static method in class org.easymock.EasyMock
Expects an int argument less than or equal to the given value.
leq(long) - Static method in class org.easymock.EasyMock
Expects a long argument less than or equal to the given value.
leq(short) - Static method in class org.easymock.EasyMock
Expects a short argument less than or equal to the given value.
leq(T) - Static method in class org.easymock.EasyMock
Expects a comparable argument less than or equal the given value.
LESS_OR_EQUAL - Enum constant in enum class org.easymock.LogicalOperator
 
LESS_THAN - Enum constant in enum class org.easymock.LogicalOperator
 
LessOrEqual<T> - Class in org.easymock.internal.matchers
Matches if the argument is less or equal to the given value.
LessOrEqual(Comparable<T>) - Constructor for class org.easymock.internal.matchers.LessOrEqual
 
LessThan<T> - Class in org.easymock.internal.matchers
Match if the argument is less than the given value.
LessThan(Comparable<T>) - Constructor for class org.easymock.internal.matchers.LessThan
 
LogicalOperator - Enum Class in org.easymock
lt(byte) - Static method in class org.easymock.EasyMock
Expects a byte argument less than the given value.
lt(double) - Static method in class org.easymock.EasyMock
Expects a double argument less than the given value.
lt(float) - Static method in class org.easymock.EasyMock
Expects a float argument less than the given value.
lt(int) - Static method in class org.easymock.EasyMock
Expects an int argument less than the given value.
lt(long) - Static method in class org.easymock.EasyMock
Expects a long argument less than the given value.
lt(short) - Static method in class org.easymock.EasyMock
Expects a short argument less than the given value.
lt(T) - Static method in class org.easymock.EasyMock
Expects a comparable argument less than the given value.

M

makeThreadSafe(boolean) - Method in interface org.easymock.IMocksControl
Makes the mock thread safe.
makeThreadSafe(boolean) - Method in interface org.easymock.internal.IMocksBehavior
 
makeThreadSafe(boolean) - Method in interface org.easymock.internal.IMocksControlState
 
makeThreadSafe(boolean) - Method in class org.easymock.internal.MocksBehavior
 
makeThreadSafe(boolean) - Method in class org.easymock.internal.MocksControl
 
makeThreadSafe(boolean) - Method in class org.easymock.internal.RecordState
 
makeThreadSafe(boolean) - Method in class org.easymock.internal.ReplayState
 
makeThreadSafe(Object, boolean) - Static method in class org.easymock.EasyMock
By default, a mock is thread safe (unless EasyMock.NOT_THREAD_SAFE_BY_DEFAULT is set).
matches(Object) - Method in interface org.easymock.IArgumentMatcher
Returns whether this matcher accepts the given argument.
matches(Object) - Method in class org.easymock.internal.matchers.And
 
matches(Object) - Method in class org.easymock.internal.matchers.Any
 
matches(Object) - Method in class org.easymock.internal.matchers.ArrayEquals
 
matches(Object) - Method in class org.easymock.internal.matchers.Captures
 
matches(Object) - Method in class org.easymock.internal.matchers.Compare
 
matches(Object) - Method in class org.easymock.internal.matchers.CompareTo
 
matches(Object) - Method in class org.easymock.internal.matchers.Contains
 
matches(Object) - Method in class org.easymock.internal.matchers.EndsWith
 
matches(Object) - Method in class org.easymock.internal.matchers.Equals
 
matches(Object) - Method in class org.easymock.internal.matchers.EqualsWithDelta
 
matches(Object) - Method in class org.easymock.internal.matchers.Find
 
matches(Object) - Method in class org.easymock.internal.matchers.InstanceOf
 
matches(Object) - Method in class org.easymock.internal.matchers.Matches
 
matches(Object) - Method in class org.easymock.internal.matchers.Not
 
matches(Object) - Method in class org.easymock.internal.matchers.NotNull
 
matches(Object) - Method in class org.easymock.internal.matchers.Null
 
matches(Object) - Method in class org.easymock.internal.matchers.Or
 
matches(Object) - Method in class org.easymock.internal.matchers.Same
 
matches(Object) - Method in class org.easymock.internal.matchers.StartsWith
 
matches(String) - Static method in class org.easymock.EasyMock
Expects a string that matches the given regular expression.
matches(Invocation) - Method in class org.easymock.internal.ExpectedInvocation
Tells if the actual invocation matches this expected invocation.
Matches - Class in org.easymock.internal.matchers
Matches if the argument is a string matching a given regex.
Matches(String) - Constructor for class org.easymock.internal.matchers.Matches
 
matchResult(int) - Method in class org.easymock.internal.matchers.CompareEqual
 
matchResult(int) - Method in class org.easymock.internal.matchers.CompareTo
 
matchResult(int) - Method in class org.easymock.internal.matchers.GreaterOrEqual
 
matchResult(int) - Method in class org.easymock.internal.matchers.GreaterThan
 
matchResult(int) - Method in class org.easymock.internal.matchers.LessOrEqual
 
matchResult(int) - Method in class org.easymock.internal.matchers.LessThan
 
matchResult(int) - Method in enum class org.easymock.LogicalOperator
 
MethodSerializationWrapper - Class in org.easymock.internal
Wrapper used to serialize a java.lang.reflect.Method object when a mock is serialized.
MethodSerializationWrapper(Method) - Constructor for class org.easymock.internal.MethodSerializationWrapper
 
mock() - Method in interface org.easymock.IMockBuilder
Create a default mock from this builder.
mock(Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default.
mock(Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default.
mock(Class<T>) - Method in interface org.easymock.IMocksControl
Creates a mock object that implements the given interface.
mock(String) - Method in interface org.easymock.IMockBuilder
Create named mock from the provided mock control using the arguments passed to the builder.
mock(String, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default.
mock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default.
mock(String, Class<T>) - Method in interface org.easymock.IMocksControl
Creates a mock object that implements the given interface.
mock(String, Class<T>, ConstructorArgs, Method...) - Method in interface org.easymock.IMocksControl
Creates a mock object that implements the given class.
mock(String, IMocksControl) - Method in interface org.easymock.IMockBuilder
Create named mock from the provided mock control using the arguments passed to the builder.
mock(String, MockType) - Method in interface org.easymock.IMockBuilder
Create a named mock of the request type from this builder.
mock(String, MockType, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object, of the requested type and name, that implements the given interface or extends the given class
mock(String, MockType, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object of the requested type that implements the given interface or extends the given class
mock(IMocksControl) - Method in interface org.easymock.IMockBuilder
Create mock from the provided mock control using the arguments passed to the builder.
mock(MockType) - Method in interface org.easymock.IMockBuilder
Create mock of the request type from this builder.
mock(MockType, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object, of the requested type, that implements the given interface or extends the given class
mock(MockType, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object of the requested type that implements the given interface or extends the given class
Mock - Annotation Interface in org.easymock
Annotation to set on a field so that EasyMockRunner, EasyMockRule or EasyMockSupport.injectMocks(Object) will inject a mock to it.
MockBuilder<T> - Class in org.easymock.internal
Default implementation of IMockBuilder.
MockBuilder(Class<?>) - Constructor for class org.easymock.internal.MockBuilder
 
MockBuilder(Class<?>, EasyMockSupport) - Constructor for class org.easymock.internal.MockBuilder
Used by EasyMockSupport to allow the mock registration in the list of controls
MockInvocationHandler - Class in org.easymock.internal
The handler of all invocations on a mock interface.
MockInvocationHandler(MocksControl) - Constructor for class org.easymock.internal.MockInvocationHandler
 
MockMethodInterceptor() - Constructor for class org.easymock.internal.ClassProxyFactory.MockMethodInterceptor
 
MocksBehavior - Class in org.easymock.internal
Default implementation of IMocksBehavior.
MocksBehavior(boolean) - Constructor for class org.easymock.internal.MocksBehavior
 
MocksControl - Class in org.easymock.internal
Controls all the mocks created by EasyMock.
MocksControl(MockType) - Constructor for class org.easymock.internal.MocksControl
 
MockType - Enum Class in org.easymock
Enum describing the 3 possibles kind of mocks

N

name() - Element in annotation interface org.easymock.Mock
 
newCapture() - Static method in class org.easymock.EasyMock
Create a new capture instance that will keep only the last captured value.
newCapture(CaptureType) - Static method in class org.easymock.EasyMock
Create a new capture instance with a specific CaptureType
newInstance() - Static method in class org.easymock.Capture
Create a new capture instance that will keep only the last captured value.
newInstance(Class<?>) - Method in class org.easymock.internal.DefaultClassInstantiator
Try to instantiate a class without using a special constructor.
newInstance(Class<?>) - Method in interface org.easymock.internal.IClassInstantiator
Return a new instance of the specified class.
newInstance(Class<?>) - Method in class org.easymock.internal.ObjenesisClassInstantiator
 
newInstance(CaptureType) - Static method in class org.easymock.Capture
Create a new capture instance with a specific CaptureType.
next() - Method in class org.easymock.internal.Results
 
NICE - Enum constant in enum class org.easymock.MockType
A nice mock expects recorded calls in any order and returning null for other calls
niceMock() - Method in interface org.easymock.IMockBuilder
Create a nice mock from this builder.
niceMock(Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
niceMock(Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
niceMock(String) - Method in interface org.easymock.IMockBuilder
Create a named nice mock from this builder.
niceMock(String, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
niceMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0, null or false for unexpected invocations.
NONE - Enum constant in enum class org.easymock.CaptureType
Do not capture anything.
not(boolean) - Static method in class org.easymock.EasyMock
Expects a boolean that does not match the given expectation.
not(byte) - Static method in class org.easymock.EasyMock
Expects a byte that does not match the given expectation.
not(char) - Static method in class org.easymock.EasyMock
Expects a char that does not match the given expectation.
not(double) - Static method in class org.easymock.EasyMock
Expects a double that does not match the given expectation.
not(float) - Static method in class org.easymock.EasyMock
Expects a float that does not match the given expectation.
not(int) - Static method in class org.easymock.EasyMock
Expects an int that does not match the given expectation.
not(long) - Static method in class org.easymock.EasyMock
Expects a long that does not match the given expectation.
not(short) - Static method in class org.easymock.EasyMock
Expects a short that does not match the given expectation.
not(T) - Static method in class org.easymock.EasyMock
Expects an Object that does not match the given expectation.
Not - Class in org.easymock.internal.matchers
Matches if the argument DOESN'T match another.
Not(IArgumentMatcher) - Constructor for class org.easymock.internal.matchers.Not
 
NOT_NULL - Static variable in class org.easymock.internal.matchers.NotNull
 
NOT_PRIVATE - Static variable in class org.easymock.internal.ReflectionUtils
 
NOT_THREAD_SAFE_BY_DEFAULT - Static variable in class org.easymock.EasyMock
Since EasyMock 2.5, by default a mock is thread-safe.
notNull() - Static method in class org.easymock.EasyMock
Expects not null.
notNull(Class<T>) - Static method in class org.easymock.EasyMock
Expects not null.
NotNull - Class in org.easymock.internal.matchers
Matches if the argument is not null.
Null - Class in org.easymock.internal.matchers
Matches if the argument is null.
NULL - Static variable in class org.easymock.internal.matchers.Null
 

O

OBJECT_EQUALS - Static variable in class org.easymock.internal.ReflectionUtils
 
OBJECT_FINALIZE - Static variable in class org.easymock.internal.ReflectionUtils
 
OBJECT_HASHCODE - Static variable in class org.easymock.internal.ReflectionUtils
 
OBJECT_TOSTRING - Static variable in class org.easymock.internal.ReflectionUtils
 
ObjectMethodsFilter - Class in org.easymock.internal
The filter catching all calls to the mock.
ObjectMethodsFilter(Class<?>, MockInvocationHandler, String) - Constructor for class org.easymock.internal.ObjectMethodsFilter
 
ObjenesisClassInstantiator - Class in org.easymock.internal
Class instantiator using Objenesis to perform the instantiation without calling any constructor.
ObjenesisClassInstantiator() - Constructor for class org.easymock.internal.ObjenesisClassInstantiator
 
once() - Method in interface org.easymock.IExpectationSetters
Expect the last invocation once.
once() - Method in class org.easymock.internal.MocksControl
 
ONCE - Static variable in class org.easymock.internal.MocksControl
Exactly one call.
or(boolean, boolean) - Static method in class org.easymock.EasyMock
Expects a boolean that matches one of the given expectations.
or(byte, byte) - Static method in class org.easymock.EasyMock
Expects a byte that matches one of the given expectations.
or(char, char) - Static method in class org.easymock.EasyMock
Expects a char that matches one of the given expectations.
or(double, double) - Static method in class org.easymock.EasyMock
Expects a double that matches one of the given expectations.
or(float, float) - Static method in class org.easymock.EasyMock
Expects a float that matches one of the given expectations.
or(int, int) - Static method in class org.easymock.EasyMock
Expects an int that matches one of the given expectations.
or(long, long) - Static method in class org.easymock.EasyMock
Expects a long that matches one of the given expectations.
or(short, short) - Static method in class org.easymock.EasyMock
Expects a short that matches one of the given expectations.
or(T, T) - Static method in class org.easymock.EasyMock
Expects an Object that matches one of the given expectations.
Or - Class in org.easymock.internal.matchers
Matches if any given argument matcher matches.
Or(List<IArgumentMatcher>) - Constructor for class org.easymock.internal.matchers.Or
 
org.easymock - module org.easymock
 
org.easymock - package org.easymock
 
org.easymock.internal - package org.easymock.internal
 
org.easymock.internal.matchers - package org.easymock.internal.matchers
 

P

partialMockBuilder(Class<?>) - Static method in class org.easymock.EasyMock
Create a mock builder allowing to create a partial mock for the given class or interface.
partialMockBuilder(Class<T>) - Method in class org.easymock.EasyMockSupport
Create a mock builder allowing to create a partial mock for the given class or interface.
popCurrentInvocation() - Static method in class org.easymock.internal.LastControl
 
postProcessTestInstance(Object, ExtensionContext) - Method in class org.easymock.EasyMockExtension
 
Preview - Annotation Interface in org.easymock
Indicated that the annotated item is new and might be tweaked a little if needed.
PrimitiveUtils - Class in org.easymock.internal
Helper class for primitive types.
pullMatchers() - Static method in class org.easymock.internal.LastControl
 
pushCurrentInvocation(Invocation) - Static method in class org.easymock.internal.LastControl
 

R

Range - Class in org.easymock.internal
The range of a number of invocations.
Range(int) - Constructor for class org.easymock.internal.Range
 
Range(int, int) - Constructor for class org.easymock.internal.Range
 
RecordState - Class in org.easymock.internal
State in which a mock is recording its behavior.
RecordState(IMocksBehavior) - Constructor for class org.easymock.internal.RecordState
 
ReflectionUtils - Class in org.easymock.internal
Helper class for reflection.
replay() - Method in interface org.easymock.IMocksControl
Switches the control from record mode to replay mode.
replay() - Method in interface org.easymock.internal.IMocksControlState
 
replay() - Method in class org.easymock.internal.MocksControl
 
replay() - Method in class org.easymock.internal.RecordState
 
replay() - Method in class org.easymock.internal.ReplayState
 
replay(Object...) - Static method in class org.easymock.EasyMock
Switches the given mock objects (more exactly: the controls of the mock objects) to replay mode.
replayAll() - Method in class org.easymock.EasyMockSupport
Switches all registered mock objects (more exactly: the controls of the mock objects) to replay mode.
ReplayState - Class in org.easymock.internal
A mock has two states, record and replay.
ReplayState(IMocksBehavior) - Constructor for class org.easymock.internal.ReplayState
 
reportAnd(int) - Static method in class org.easymock.internal.LastControl
 
reportLastControl(MocksControl) - Static method in class org.easymock.internal.LastControl
 
reportMatcher(IArgumentMatcher) - Static method in class org.easymock.EasyMock
Reports an argument matcher.
reportMatcher(IArgumentMatcher) - Static method in class org.easymock.internal.LastControl
 
reportNot() - Static method in class org.easymock.internal.LastControl
 
reportOr(int) - Static method in class org.easymock.internal.LastControl
 
reset() - Method in class org.easymock.Capture
Will reset capture to a "nothing captured yet" state.
reset() - Method in interface org.easymock.IMocksControl
Removes all expectations for the mock objects of this control.
reset() - Method in class org.easymock.internal.MocksControl
 
reset(Object...) - Static method in class org.easymock.EasyMock
Resets the given mock objects (more exactly: the controls of the mock objects).
resetAll() - Method in class org.easymock.EasyMockSupport
Resets all registered mock objects (more exactly: the controls of the mock objects).
resetAllToDefault() - Method in class org.easymock.EasyMockSupport
Resets all registered mock objects (more exactly: the controls of the mock objects) and turn them to a mock with default behavior.
resetAllToNice() - Method in class org.easymock.EasyMockSupport
Resets all registered mock objects (more exactly: the controls of the mock objects) and turn them to a mock with nice behavior.
resetAllToStrict() - Method in class org.easymock.EasyMockSupport
Resets all registered mock objects (more exactly: the controls of the mock objects) and turn them to a mock with strict behavior.
resetToDefault() - Method in interface org.easymock.IMocksControl
Removes all expectations for the mock objects of this control and turn them to default mocks.
resetToDefault() - Method in class org.easymock.internal.MocksControl
 
resetToDefault(Object...) - Static method in class org.easymock.EasyMock
Resets the given mock objects (more exactly: the controls of the mock objects) and turn them to a mock with default behavior.
resetToNice() - Method in interface org.easymock.IMocksControl
Removes all expectations for the mock objects of this control and turn them to nice mocks.
resetToNice() - Method in class org.easymock.internal.MocksControl
 
resetToNice(Object...) - Static method in class org.easymock.EasyMock
Resets the given mock objects (more exactly: the controls of the mock objects) and turn them to a mock with nice behavior.
resetToStrict() - Method in interface org.easymock.IMocksControl
Removes all expectations for the mock objects of this control and turn them to strict mocks.
resetToStrict() - Method in class org.easymock.internal.MocksControl
 
resetToStrict(Object...) - Static method in class org.easymock.EasyMock
Resets the given mock objects (more exactly: the controls of the mock objects) and turn them to a mock with strict behavior.
Result - Class in org.easymock.internal
The result of an invocation on a mock.
Results - Class in org.easymock.internal
The results of a specific call on a mock.
Results() - Constructor for class org.easymock.internal.Results
 
RuntimeExceptionWrapper - Exception Class in org.easymock.internal
Wraps a RuntimeException that was thrown by a method invocation so that EasyMock knows the difference between an invocation exception and an real unexpected one.
RuntimeExceptionWrapper(RuntimeException) - Constructor for exception class org.easymock.internal.RuntimeExceptionWrapper
 

S

same(T) - Static method in class org.easymock.EasyMock
Expects an Object that is the same as the given value.
Same - Class in org.easymock.internal.matchers
Matches if the argument is the same instance as the given value.
Same(Object) - Constructor for class org.easymock.internal.matchers.Same
 
setDefaultInstantiator() - Static method in class org.easymock.internal.ClassInstantiatorFactory
Set back the default instantiator
setEasyMockProperty(String, String) - Static method in class org.easymock.EasyMock
Set a property to modify the default EasyMock behavior.
setInstantiator(IClassInstantiator) - Static method in class org.easymock.internal.ClassInstantiatorFactory
Allow to override the default instantiator.
setMatched() - Method in class org.easymock.internal.Injection
Change the status to indicate that this injection was matched to some target.
setPotentialValue(T) - Method in class org.easymock.internal.matchers.Captures
 
setProperty(String, String) - Method in class org.easymock.internal.EasyMockProperties
Add a value referenced by the provided key.
setValue(T) - Method in class org.easymock.Capture
Used internally by the EasyMock framework to add a new captured value.
shouldBeUsedInOneThread(boolean) - Method in interface org.easymock.internal.IMocksBehavior
 
shouldBeUsedInOneThread(boolean) - Method in class org.easymock.internal.MocksBehavior
 
shouldFillInStackTrace() - Method in class org.easymock.internal.Result
 
startsWith(String) - Static method in class org.easymock.EasyMock
Expects a string that starts with the given prefix.
StartsWith - Class in org.easymock.internal.matchers
Matches if the argument is a string starting with the given prefix.
StartsWith(String) - Constructor for class org.easymock.internal.matchers.StartsWith
 
STRICT - Enum constant in enum class org.easymock.MockType
A strict mock expects only recorded calls and they should be replayed in their recorded order
strictMock() - Method in interface org.easymock.IMockBuilder
Create a strict mock from this builder.
strictMock(Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is enabled by default.
strictMock(Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is enabled by default.
strictMock(String) - Method in interface org.easymock.IMockBuilder
Create a named strict mock from this builder.
strictMock(String, Class<?>) - Static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is enabled by default.
strictMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
Creates a mock object that implements the given interface, order checking is enabled by default.

T

TestSubject - Annotation Interface in org.easymock
Annotation to set on a field so that EasyMockRunner, EasyMockRule or EasyMockSupport.injectMocks(Object) will inject mocks created with Mock on its fields.
ThrowableWrapper - Exception Class in org.easymock.internal
Wraps a Throwable that was thrown by a method invocation so that EasyMock knows the difference between an invocation exception and an real unexpected one.
ThrowableWrapper(Throwable) - Constructor for exception class org.easymock.internal.ThrowableWrapper
 
times(int) - Method in interface org.easymock.IExpectationSetters
Expect the last invocation count times.
times(int) - Method in class org.easymock.internal.MocksControl
 
times(int, int) - Method in interface org.easymock.IExpectationSetters
Expect the last invocation between min and max times.
times(int, int) - Method in class org.easymock.internal.MocksControl
 
times(Range) - Method in interface org.easymock.internal.IMocksControlState
 
times(Range) - Method in class org.easymock.internal.RecordState
 
times(Range) - Method in class org.easymock.internal.ReplayState
 
toString() - Method in class org.easymock.Capture
 
toString() - Method in class org.easymock.internal.ExpectedInvocation
 
toString() - Method in class org.easymock.internal.ExpectedInvocationAndResults
 
toString() - Method in class org.easymock.internal.Invocation
 
toString() - Method in class org.easymock.internal.Range
 
toString() - Method in class org.easymock.internal.Result
 
toString() - Method in class org.easymock.internal.Results
 
type() - Element in annotation interface org.easymock.Mock
 

U

UnorderedBehavior - Class in org.easymock.internal
A bit badly named since this class is used for both ordered and unordered expectations.
UnorderedBehavior(boolean) - Constructor for class org.easymock.internal.UnorderedBehavior
 

V

validateCapture() - Method in class org.easymock.internal.matchers.Captures
 
validateCaptures() - Method in class org.easymock.internal.Invocation
 
value() - Element in annotation interface org.easymock.Mock
 
valueOf(String) - Static method in enum class org.easymock.CaptureType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.easymock.LogicalOperator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.easymock.MockType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.easymock.CaptureType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.easymock.LogicalOperator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.easymock.MockType
Returns an array containing the constants of this enum class, in the order they are declared.
verify() - Method in interface org.easymock.IMocksControl
Verifies that all expectations were met and that no unexpected call was performed.
verify() - Method in interface org.easymock.internal.IMocksBehavior
 
verify() - Method in interface org.easymock.internal.IMocksControlState
 
verify() - Method in class org.easymock.internal.MocksBehavior
 
verify() - Method in class org.easymock.internal.MocksControl
 
verify() - Method in class org.easymock.internal.RecordState
 
verify() - Method in class org.easymock.internal.ReplayState
 
verify() - Method in class org.easymock.internal.UnorderedBehavior
 
verify(Object...) - Static method in class org.easymock.EasyMock
Verifies that all expectations were met and that no unexpected call was performed on the mock objects.
verifyAll() - Method in class org.easymock.EasyMockSupport
Verifies all registered mock objects have their expectations met and that no unexpected call was performed.
verifyAllRecordings() - Method in class org.easymock.EasyMockSupport
Verifies all registered mock objects have their expectations met.
verifyAllUnexpectedCalls() - Method in class org.easymock.EasyMockSupport
Verifies that no registered mock objects had unexpected calls.
verifyRecording() - Method in interface org.easymock.IMocksControl
Verifies that all expectations were met.
verifyRecording() - Method in interface org.easymock.internal.IMocksBehavior
 
verifyRecording() - Method in interface org.easymock.internal.IMocksControlState
 
verifyRecording() - Method in class org.easymock.internal.MocksBehavior
 
verifyRecording() - Method in class org.easymock.internal.MocksControl
 
verifyRecording() - Method in class org.easymock.internal.RecordState
 
verifyRecording() - Method in class org.easymock.internal.ReplayState
 
verifyRecording(Object...) - Static method in class org.easymock.EasyMock
Verifies that all expectations were met.
verifyUnexpectedCalls() - Method in interface org.easymock.IMocksControl
Verifies that no unexpected call was performed.
verifyUnexpectedCalls() - Method in interface org.easymock.internal.IMocksBehavior
 
verifyUnexpectedCalls() - Method in interface org.easymock.internal.IMocksControlState
 
verifyUnexpectedCalls() - Method in class org.easymock.internal.MocksBehavior
 
verifyUnexpectedCalls() - Method in class org.easymock.internal.MocksControl
 
verifyUnexpectedCalls() - Method in class org.easymock.internal.RecordState
 
verifyUnexpectedCalls() - Method in class org.easymock.internal.ReplayState
 
verifyUnexpectedCalls(Object...) - Static method in class org.easymock.EasyMock
Verifies that no unexpected call was performed.

W

withArgs(Object...) - Method in interface org.easymock.IMockBuilder
Defines the arguments to be passed to the constructor of the class.
withArgs(Object...) - Method in class org.easymock.internal.MockBuilder
 
withBefores(FrameworkMethod, Object, Statement) - Method in class org.easymock.EasyMockRunner
We are required to override a deprecated method because it's the only way the perform the mock injection before the @Before of our class being called.
withConstructor() - Method in interface org.easymock.IMockBuilder
Defines the empty constructor should be called.
withConstructor() - Method in class org.easymock.internal.MockBuilder
 
withConstructor(Class<?>...) - Method in interface org.easymock.IMockBuilder
Defines the exact argument types for the constructor to use.
withConstructor(Class<?>...) - Method in class org.easymock.internal.MockBuilder
 
withConstructor(Object...) - Method in interface org.easymock.IMockBuilder
Defines the constructor parameters for the mocked class.
withConstructor(Object...) - Method in class org.easymock.internal.MockBuilder
 
withConstructor(Constructor<?>) - Method in interface org.easymock.IMockBuilder
Defines the constructor to use to instantiate the mock.
withConstructor(Constructor<?>) - Method in class org.easymock.internal.MockBuilder
 
withConstructor(ConstructorArgs) - Method in class org.easymock.internal.MockBuilder
 

Z

ZERO_OR_MORE - Static variable in class org.easymock.internal.MocksControl
Zero or more calls.
A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form