java.lang.Object | |
↳ | com.atlassian.jira.easymock.EasyMockAnnotations |
Utilities for creating mocks.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new mock for every field of the object that is marked with
Mock , using EasyMock's create*
methods. | |||||||||||
Creates a new mock for every field of the object that is marked with
Mock , using the provided mock
factory. | |||||||||||
Replays every mock object that is a field of this class by calling MockAction#doWithMock(Mock, Class,
Object) on the provided mock action.
| |||||||||||
Replays every mock object that is a field of this class by calling EasyMock.replay()
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Creates a new mock for every field of the object that is marked with Mock
, using EasyMock's create*
methods.
object | an object |
---|
Creates a new mock for every field of the object that is marked with Mock
, using the provided mock
factory.
object | an object |
---|---|
mockFactory | the MockFactory that will actually create the mocks |
Replays every mock object that is a field of this class by calling MockAction#doWithMock(Mock, Class, Object) on the provided mock action.
object | an object |
---|---|
mockAction | the MockAction to use for replaying mocks |
Replays every mock object that is a field of this class by calling EasyMock.replay()
object | an object |
---|