com.atlassian.jira.easymock
Interface MockFactory
public interface MockFactory
Factory interface for mock creation.
- Since:
- v4.4
Method Summary |
Object |
createMock(Mock mock,
Class<?> mockClass)
Creates a mock with the given mock type and @Mock annotation. |
createMock
Object createMock(Mock mock,
Class<?> mockClass)
- Creates a mock with the given mock type and @Mock annotation.
- Parameters:
mock
- the @Mock annotationmockClass
- the Class object for the mock
- Returns:
- a mock
Copyright © 2002-2014 Atlassian. All Rights Reserved.