Unit Test Cases with JUnit +(Robolectric or Mockito or both in Android)
They have slightly different usages and I tend to use both in my projects. Mockito is used for making mocks of your classes. When you are testing a particular class you mock all of its dependencies with Mockito. Where possible most of your tests should use mockito. To make this possible most people split their … Read more