MOCKITO: What is it and how is it different from Junit
JUnit is a framework that helps with writing and running your unit tests. Mockito (or any other mocking tool) is a framework that you specifically use to efficiently write certain kind of tests. At it’s core, any mocking framework allows you omit instantiating “real” objects of production classes, instead the mocking framework creates a stub … Read more