Package | Description |
---|---|
com.atlassian.jira.junit.rules | |
com.atlassian.jira.mock.component |
Modifier and Type | Method and Description |
---|---|
MockComponentWorker |
MockComponentContainer.getMockWorker() |
MockComponentWorker |
MockitoContainer.getMockWorker()
A shorthand for getMockComponentContainer().getMockWorker()
|
Modifier and Type | Method and Description |
---|---|
<T,U extends T> |
MockComponentWorker.addMock(Class<T> componentInterface,
io.atlassian.util.concurrent.LazyReference<U> componentMockRef)
Registers a mock component to be returned by this component worker.
|
<T,U extends T> |
MockComponentWorker.addMock(Class<T> componentInterface,
U componentMock)
Registers a mock component to be returned by this component worker.
|
MockComponentWorker |
MockComponentWorker.init()
Convenience method that just calls
ComponentAccessor .initialiseWorker(this) . |
Copyright © 2002-2019 Atlassian. All Rights Reserved.