Package com.atlassian.jira.junit.rules

Class Summary
InitMockitoMocks

Initializes Mocktio mocks before the tests.

MockComponentContainer JUnit @Rule that allows for providing mcok 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: ActionContext ExecutingHttpRequest

MockHttp.DefaultMocks  
MockHttp.MockitoMocks  
MockitoMocksInContainer

Factory for a rule that combines mockito initialization with MockComponentContainer.

 

Annotation Types Summary
AvailableInContainer Annotate mocks in your unit test with this annotation to have them available via ComponentAccessor in your unit tests.
 



Copyright © 2002-2012 Atlassian. All Rights Reserved.