Uses of Enum Class
org.easymock.MockType

Packages that use MockType
Package
Description
 
 
  • Uses of MockType in org.easymock

    Methods in org.easymock that return MockType
    Modifier and Type
    Method
    Description
    static MockType
    MockType.valueOf(String name)
    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 MockType
    Modifier and Type
    Method
    Description
    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 class
    static <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
    EasyMock.mock(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 class
    static <T> T
    EasyMock.mock(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.mock(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.mock(MockType type, Class<T> toMock)
    Creates a mock object of the requested type that implements the given interface or extends the given class
    default <R> R
    IMockBuilder.mock(String name, MockType type)
    Create a named mock of the request type from this builder.
    default <R> R
    IMockBuilder.mock(MockType type)
    Create mock of the request type from this builder.
  • Uses of MockType in org.easymock.internal

    Methods in org.easymock.internal that return MockType
    Modifier and Type
    Method
    Description
    MocksControl.getType()
     
    Methods in org.easymock.internal with parameters of type MockType
    Modifier and Type
    Method
    Description
    <R> R
    MockBuilder.createMock(String name, MockType type)
     
    <R> R
    MockBuilder.createMock(MockType type)
     
    Constructors in org.easymock.internal with parameters of type MockType
    Modifier
    Constructor
    Description