I am writing the AndroidJUnit4 test case for my Broadcast Receiver class , In which there is Runtime permission for the Location and Phone State to execute some piece of code. W