EasyMockSupport even for class
mocking@Deprecated public class EasyMockSupport extends EasyMockSupport
EasyMockSupport for classes and
interfaces mocking.controls| Constructor and Description |
|---|
EasyMockSupport()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IMocksControl |
createControl()
Deprecated.
Creates a control, order checking is disabled by default.
|
<T> T |
createMock(Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createMock(Class<T> toMock,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createMock(String name,
Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createMock(String name,
Class<T> toMock,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
IMocksControl |
createNiceControl()
Deprecated.
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. |
<T> T |
createNiceMock(Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createNiceMock(Class<T> toMock,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createNiceMock(String name,
Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createNiceMock(String name,
Class<T> toMock,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
IMocksControl |
createStrictControl()
Deprecated.
Creates a control, order checking is enabled by default.
|
<T> T |
createStrictMock(Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createStrictMock(Class<T> toMock,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createStrictMock(String name,
Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
<T> T |
createStrictMock(String name,
Class<T> toMock,
Method... mockedMethods)
Deprecated.
Use
EasyMockSupport.createMockBuilder(Class) instead |
createControl, createMock, createMock, createMock, createMock, createMock, createMock, createMockBuilder, createNiceMock, createNiceMock, createNiceMock, createNiceMock, createStrictMock, createStrictMock, createStrictMock, createStrictMock, injectMocks, replayAll, resetAll, resetAllToDefault, resetAllToNice, resetAllToStrict, verifyAll@Deprecated public <T> T createStrictMock(Class<T> toMock, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadcreateStrictMock in class EasyMockSupportT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createStrictMock(String name, Class<T> toMock, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadcreateStrictMock in class EasyMockSupportT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createStrictMock(Class<T> toMock, ConstructorArgs constructorArgs, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createStrictMock(String name, Class<T> toMock, ConstructorArgs constructorArgs, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createMock(Class<T> toMock, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadcreateMock in class EasyMockSupportT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createMock(String name, Class<T> toMock, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadcreateMock in class EasyMockSupportT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createMock(Class<T> toMock, ConstructorArgs constructorArgs, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createMock(String name, Class<T> toMock, ConstructorArgs constructorArgs, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) insteadT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createNiceMock(Class<T> toMock, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead0,
null or false for unexpected invocations.createNiceMock in class EasyMockSupportT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createNiceMock(String name, Class<T> toMock, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead0,
null or false for unexpected invocations.createNiceMock in class EasyMockSupportT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createNiceMock(Class<T> toMock, ConstructorArgs constructorArgs, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead0,
null or false for unexpected invocations.T - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally@Deprecated public <T> T createNiceMock(String name, Class<T> toMock, ConstructorArgs constructorArgs, Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead0,
null or false for unexpected invocations.T - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normallypublic IMocksControl createStrictControl()
EasyMockSupportcreateStrictControl in class EasyMockSupportpublic IMocksControl createControl()
EasyMockSupportcreateControl in class EasyMockSupportpublic IMocksControl createNiceControl()
EasyMockSupport0,
null or false for unexpected invocations.createNiceControl in class EasyMockSupportCopyright © 2010-2014 Henri Tremblay. All Rights Reserved.