Google News
logo
JUnit - Interview Questions
What is mocking and stubbing?
Mocking is a phenomenon where an object mimics a real object. Whereas, stubbing are the codes responsible for taking place of another component. Mockito, EasyMock are some of the mocking frameworks in Java.
Advertisement