com.atlassian.jira.mock
Class ComponentManagerMocker
java.lang.Object
com.atlassian.jira.mock.ComponentManagerMocker
public class ComponentManagerMocker
- extends Object
Use this class to hack the heck out of the component manager so that it does not start the whole
freaking world to satisfy a single unit test.
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentManagerMocker
public ComponentManagerMocker()
doMock
public void doMock()
addComponent
public <T> ComponentManagerMocker addComponent(Class<T> componentClass,
T compInstance)
Copyright © 2002-2011 Atlassian. All Rights Reserved.