Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Interview Questions and Answers | ||||
| ||||
| Ans. Yes we can use PowerMock. With Mockito , we cannot mock static methods. | ||||
MockitoAnnotations.initMocks(this); | ||||