com.atlassian.jira.mock
Class ComponentManagerMocker
java.lang.Object
com.atlassian.jira.mock.ComponentManagerMocker
Deprecated. use ComponentAccessor
instead of ComponentManager
in your code, and the MockComponentContainer
rule in the tests.
@Deprecated
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentManagerMocker
public ComponentManagerMocker()
- Deprecated.
doMock
public void doMock()
- Deprecated.
addComponent
public <T> ComponentManagerMocker addComponent(Class<T> componentClass,
T compInstance)
- Deprecated.
Copyright © 2002-2013 Atlassian. All Rights Reserved.