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.
|
<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.
|
<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.
|
<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 EasyMockSupport
T
- 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 EasyMockSupport
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.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 EasyMockSupport
T
- 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 EasyMockSupport
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.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 EasyMockSupport
T
- 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 EasyMockSupport
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.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()
createStrictControl
in class EasyMockSupport
public IMocksControl createControl()
createControl
in class EasyMockSupport
public IMocksControl createNiceControl()
createNiceControl
in class EasyMockSupport
Copyright © 2003-2013 OFFIS, Henri Tremblay. All Rights Reserved.