Uses of Enum Class
org.easymock.MockType
Packages that use MockType
-
Uses of MockType in org.easymock
Methods in org.easymock that return MockTypeModifier and TypeMethodDescriptionstatic MockType
Returns the enum constant of this class with the specified name.static MockType[]
MockType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.easymock with parameters of type MockTypeModifier and TypeMethodDescriptionstatic IMocksControl
EasyMock.createControl
(MockType type) Creates a control of the requested type.EasyMockSupport.createControl
(MockType type) Creates a control of the given type.static <T> T
EasyMock.createMock
(String name, MockType type, Class<?> toMock) Creates a mock object, of the requested type and name, that implements the given interface or extends the given classstatic <T> T
EasyMock.createMock
(MockType type, Class<?> toMock) Creates a mock object, of the requested type, that implements the given interface or extends the given class.<T,
R> R EasyMockSupport.createMock
(String name, MockType type, Class<T> toMock) Creates a mock object of the requested type that implements the given interface or extends the given class<T,
R> R EasyMockSupport.createMock
(MockType type, Class<T> toMock) Creates a mock object of the requested type that implements the given interface or extends the given class<R> R
IMockBuilder.createMock
(String name, MockType type) Create a named mock of the request type from this builder.<R> R
IMockBuilder.createMock
(MockType type) Create mock of the request type from this builder.static <T> T
Creates a mock object, of the requested type and name, that implements the given interface or extends the given classstatic <T> T
Creates a mock object, of the requested type, that implements the given interface or extends the given class<T,
R> R Creates a mock object of the requested type that implements the given interface or extends the given class<T,
R> R Creates a mock object of the requested type that implements the given interface or extends the given classdefault <R> R
Create a named mock of the request type from this builder.default <R> R
Create mock of the request type from this builder. -
Uses of MockType in org.easymock.internal
Methods in org.easymock.internal that return MockTypeMethods in org.easymock.internal with parameters of type MockTypeModifier and TypeMethodDescription<R> R
MockBuilder.createMock
(String name, MockType type) <R> R
MockBuilder.createMock
(MockType type) Constructors in org.easymock.internal with parameters of type MockType