ClearStatics |
Clear static variables in JIRA to allow tests separattion
Just add this to your test:
@Rule ClearStatics initMocks = new ClearStatics(); |
InitMockitoMocks | Initializes Mocktio mocks before the tests. |
MockComponentContainer | JUnit @Rule that allows for providing mock JIRA components accessed in
production code via ComponentAccessor
static methods. |
MockHttp<R extends HttpServletRequest, S extends HttpServletResponse> |
Sets up and tears down automatically the following, static methods used in the JIRA production code for
accessing current HTTP objects:
|
MockHttp.DefaultMocks | |
MockHttp.MockitoMocks | |
MockitoMocksInContainer |
Factory for a rule that combines mockito initialization with
MockComponentContainer . |