UnitTesting with Mockito,Robolectric
Tests of Mockito are made in accordance with the arguments being passed to the function .
Robolectric tests work with our activity reference.
For rololectric to work ,go to Run->Edit Configurations->Android JUnit and set working directory to
Espresso tests run on a real device ,so do connect with adb and turn the animations off in developer options.