java.lang.Object | |
↳ | com.atlassian.confluence.MockitoUtils |
Test utilities for Mockito.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set to null all @Mock annotated fields in the target object.
| |||||||||||
Sets the given field to the given value in the given target object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Set to null all @Mock annotated fields in the target object. TODO get this functionality made part of Mockito itself.
target | the object to process. |
---|
Sets the given field to the given value in the given target object.
target | the target with the field to modify. |
---|---|
field | the field to modify. |
value | the value to set. |