EasyMock
@Deprecated public class EasyMock extends EasyMock
EasyMock
for classes and interfaces
mocking.
Note: Since the static methods previously available were removed from this class (and are now in the superclass), no binary compatibility is provided
DISABLE_CLASS_MOCKING, ENABLE_THREAD_SAFETY_CHECK_BY_DEFAULT, NOT_THREAD_SAFE_BY_DEFAULT
Modifier | Constructor and Description |
---|---|
protected |
EasyMock()
Deprecated.
Prevent instantiation but allow inheritance
|
Modifier and Type | Method and Description |
---|---|
static IMocksControl |
createControl()
Deprecated.
|
static <T> IMockBuilder<T> |
createMockBuilder(Class<T> toMock)
Deprecated.
|
static IMocksControl |
createNiceControl()
Deprecated.
|
static IMocksControl |
createStrictControl()
Deprecated.
|
and, and, and, and, and, and, and, and, and, anyBoolean, anyByte, anyChar, anyDouble, anyFloat, anyInt, anyLong, anyObject, anyObject, anyShort, anyString, aryEq, aryEq, aryEq, aryEq, aryEq, aryEq, aryEq, aryEq, aryEq, capture, captureBoolean, captureByte, captureChar, captureDouble, captureFloat, captureInt, captureLong, checkIsUsedInOneThread, checkOrder, cmp, cmpEq, contains, createControl, createMock, createMock, createMock, createMock, createMock, createMock, createMock, createMock, createNiceMock, createNiceMock, createNiceMock, createNiceMock, createNiceMock, createNiceMock, createStrictMock, createStrictMock, createStrictMock, createStrictMock, createStrictMock, createStrictMock, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, expect, expectLastCall, find, geq, geq, geq, geq, geq, geq, geq, getCurrentArguments, getEasyMockProperty, gt, gt, gt, gt, gt, gt, gt, isA, isNull, isNull, leq, leq, leq, leq, leq, leq, leq, lt, lt, lt, lt, lt, lt, lt, makeThreadSafe, matches, not, not, not, not, not, not, not, not, not, notNull, notNull, or, or, or, or, or, or, or, or, or, replay, reportMatcher, reset, resetToDefault, resetToNice, resetToStrict, same, setEasyMockProperty, startsWith, verify
protected EasyMock()
public static IMocksControl createStrictControl()
public static IMocksControl createControl()
public static IMocksControl createNiceControl()
public static <T> IMockBuilder<T> createMockBuilder(Class<T> toMock)
Copyright © 2010-2014 Henri Tremblay. All Rights Reserved.