All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description And Matches if all given argument matchers match.Any Matches any argument.ArgumentToString Utility class to convert method arguments to StringsArrayEquals Matches if the argument is an array where the elements are equal to the given array.AssertionErrorWrapper 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.BridgeMethodResolver Code taken from the Spring framework.Capture<T> Will contain what was captured by thecapture()matcher.Captures<T> Captures the argument to retrieve it later and matches anything.CaptureType Defines how arguments will be captured by aCaptureobject.ClassInfoProvider Tells where a mock should be created.ClassInstantiatorFactory Factory returning aIClassInstantiatorfor the current JVMClassMockingData Class containing the data required for a class mock to work.ClassProxyFactory Factory generating a mock for a class.ClassProxyFactory.MockMethodInterceptor Compare<T> Matches if the argument, when compared (Comparator.compare()), agrees with the logical operator.CompareEqual<T extends java.lang.Comparable<T>> Matches if the argument is equal when compared (as inComparable.compareTo() == 0) to the given value.CompareTo<T extends java.lang.Comparable<T>> Base class for matchers that are comparing a value to another.ConstructorArgs Class wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructors.Contains Matches if the argument is a string containing a given substring.DefaultClassInfoProvider Provider to use when classes are not in the JDK.DefaultClassInstantiator Default class instantiator that is pretty limited.EasyMock Main EasyMock class.EasyMockExtension JUnit 5 replaced the previousRunWithannotation (which made use ofEasyMockRunner) with the newExtendWithannotation.EasyMockListener EasyMockProperties Contains properties used by EasyMock to change its default behavior.EasyMockRule JUnit Rule used to processMockandTestSubjectannotations.EasyMockRunner JUnit runner used to processMockandTestSubjectannotations.EasyMockStatement JUnit Statement for use by JUnit Rule or JUnit Runner to processMockandTestSubjectannotations.EasyMockSupport Helper class to keep track of mocks easily.EasyMockSupport.ObjectMockingHelper Hides ByteBuddy classes from EasyMockSupport to preventNoClassDefFoundErrorif ByteBuddy isn't used.EndsWith Matches if the argument is a string ending with a given suffix.Equals Matches if the argument is equal to the given value.EqualsWithDelta Matches if the argument is a number equal to the given value with some tolerance equal to delta.ErrorMessage The full content of an error message reporting to the user.ExpectedInvocation One expected invocation.ExpectedInvocationAndResult One expected invocation and its result.ExpectedInvocationAndResults The pair of an expected invocation and its results.Find Matches if the argument is a string in which a regex can be found.GreaterOrEqual<T extends java.lang.Comparable<T>> Matches if the argument is greater or equal to the given value.GreaterThan<T extends java.lang.Comparable<T>> Matches if the argument is strictly greater than the given value.IAnswer<T> Used to answer expected calls.IArgumentMatcher Decides whether an actual argument is accepted.IClassInstantiator Used to instantiate a given class.IExpectationSetters<T> Allows setting expectations for an associated expected invocation.IgnoreAnimalSniffer IMockBuilder<T> Helps the creation of partial mocks withEasyMock.IMocksBehavior The behavior of a mock.IMocksControl Controls all the mock objects created by it.IMocksControlState Current state of a mocks control.Injection Described mock instance for injection.InjectionPlan Container for mock injections and test subject injection targets.InjectionTarget Applies anInjectionto a target field.Injector Performs creation of mocks and injection into test subjects in accordance with annotations present in the host object.InstanceOf Matches if the argument is an instance of the given class.Invocation Represents a method invocation on a mock object.IProxyFactory Reponsible of creating proxies for objects.JavaProxyFactory Proxy factory creating proxies from an interface using the standard JDK proxy API.JdkClassInfoProvider Provider to use when classes are from the JDK or if they have no package.LastControl The last mocks control used in the current thread.LessOrEqual<T extends java.lang.Comparable<T>> Matches if the argument is less or equal to the given value.LessThan<T extends java.lang.Comparable<T>> Match if the argument is less than the given value.LinkedClassLoader ClassLoader looking in multipleClassLoaders in order to find the wanted class.LogicalOperator Matches Matches if the argument is a string matching a given regex.MethodSerializationWrapper Wrapper used to serialize ajava.lang.reflect.Methodobject when a mock is serialized.Mock Annotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject a mock to it.MockBuilder<T> Default implementation of IMockBuilder.MockInvocationHandler The handler of all invocations on a mock interface.MocksBehavior Default implementation ofIMocksBehavior.MocksControl Controls all the mocks created byEasyMock.MockType Enum describing the 3 possibles kind of mocksNot Matches if the argument DOESN'T match another.NotNull Matches if the argument is not null.Null Matches if the argument is null.ObjectMethodsFilter The filter catching all calls to the mock.ObjenesisClassInstantiator Class instantiator using Objenesis to perform the instantiation without calling any constructor.Or Matches if any given argument matcher matches.Preview Indicated that the annotated item is new and might be tweaked a little if needed.PrimitiveUtils Helper class for primitive types.PrimitiveUtils.PrimitiveEntry Range The range of a number of invocations.RecordState State in which a mock is recording its behavior.ReflectionUtils Helper class for reflection.ReplayState A mock has two states, record and replay.Result The result of an invocation on a mock.Results The results of a specific call on a mock.RuntimeExceptionWrapper 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.Same Matches if the argument is the same instance as the given value.StartsWith Matches if the argument is a string starting with the given prefix.TestSubject Annotation to set on a field so thatEasyMockRunner,EasyMockRuleorEasyMockSupport.injectMocks(Object)will inject mocks created withMockon its fields.ThrowableWrapper 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.UnorderedBehavior A bit badly named since this class is used for both ordered and unordered expectations.