Top Interfaces Annotations Classes
[default module]

Package org.easymock.internal


Interface Summary

Modifier and TypeInterface and Description
public interface
IClassInstantiator

Used to instantiate a given class.

public interface
IMocksBehavior

The behavior of a mock.

public interface
IMocksControlState

Current state of a mocks control.

public interface
IProxyFactory

Reponsible of creating proxies for objects.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface

Class Summary

Modifier and TypeClass and Description
public class
AndroidClassProxyFactory

Mocks concrete classes for Android's runtime by generating dex files.

public class
AndroidSupport

Android-specific support.

public class
ArgumentToString

Utility class to convert method arguments to Strings

public class
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.

public class
public class
ClassInstantiatorFactory

Factory returning a IClassInstantiatorfor the current JVM

public class
ClassMockingData

Class containing the data required for a class mock to work.

public class
ClassProxyFactory

Factory generating a mock for a class.

public class
DefaultClassInstantiator

Default class instantiator that is pretty limited.

public class
EasyMockProperties

Contains properties used by EasyMock to change its default behavior.

public class
EasyMockStatement

JUnit Statement for use by JUnit Rule or JUnit Runner to process Mock and TestSubject annotations.

public class
ErrorMessage

The full content of an error message reporting to the user.

public class
ExpectedInvocation

One expected invocation.

public class
ExpectedInvocationAndResult

One expected invocation and its result.

public class
ExpectedInvocationAndResults

The pair of an expected invocation and its results.

public class
Injection

Described mock instance for injection.

public class
InjectionPlan

Container for mock injections and test subject injection targets.

public class
InjectionTarget

Applies an Injection to a target field.

public class
Injector

Performs creation of mocks and injection into test subjects in accordance with annotations present in the host object.

public class
Invocation

Represents a method invocation on a mock object.

public class
JavaProxyFactory

Proxy factory creating proxies from an interface using the standard JDK proxy API.

public class
LastControl

The last mocks control used in the current thread.

pack-priv class
LinkedClassLoader

ClassLoader looking in multiple ClassLoaders in order to find the wanted class.

public class
MethodSerializationWrapper

Wrapper used to serialize a java.lang.reflect.Method object when a mock is serialized.

public class
MockBuilder<
type of the mock created
T
>

Default implementation of IMockBuilder.

public class
MockInvocationHandler

The handler of all invocations on a mock interface.

public class
MocksBehavior

Default implementation of IMocksBehavior.

public class
MocksControl

Controls all the mocks created by EasyMock.

public class
ObjectMethodsFilter

The filter catching all calls to the mock.

public class
ObjenesisClassInstantiator

Class instantiator using Objenesis to perform the instantiation without calling any constructor.

public class
PrimitiveUtils

Helper class for primitive types.

public class
Range

The range of a number of invocations.

public class
RecordState

State in which a mock is recording its behavior.

public class
ReflectionUtils

Helper class for reflection.

public class
ReplayState

A mock has two states, record and replay.

public class
Result

The result of an invocation on a mock.

public class
Results

The results of a specific call on a mock.

public class
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.

public class
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.

public class
UnorderedBehavior

A bit badly named since this class is used for both ordered and unordered expectations.