|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.testutils.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 component
public 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 | |||||||||