Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
JUnit - Interview Questions and Answers for 'Mocking frameworks' - 4 question(s) found - Order By Newest | ||||
Ans. It helps in doing end to end Integration Testing | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Initialize required objects for working with mocks and tested method Set the mock behaviour on dependent objects Execute the tested method Perform assertions Verify if a method is invoked or not | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Mockito, PowerMock, EasyMock, JMock, JMockit | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Initializes objects annotated with Mockito annotations | ||||
![]() | ||||
![]() ![]() ![]() | ||||