|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.spring.SpringTestHelper
public class SpringTestHelper
Constructor Summary | |
---|---|
SpringTestHelper()
|
Method Summary | ||
---|---|---|
static
|
mockSpringComponent(java.lang.String componentKey,
java.lang.Class<T> componentClass)
Mock a component that could be accessed by ComponentAccessor or ContainerManager. |
|
static void |
mockSpringComponent(java.lang.String componentKey,
java.lang.Object componentInstance)
Mock a component that could be accessed by ComponentAccessor or ContainerManager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringTestHelper()
Method Detail |
---|
public static <T> T mockSpringComponent(@NotNull java.lang.String componentKey, java.lang.Class<T> componentClass)
componentKey
- key of the componentcomponentClass
- class of componentpublic static void mockSpringComponent(@NotNull java.lang.String componentKey, java.lang.Object componentInstance)
componentKey
- key of the componentcomponentInstance
- component itself
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |