I am trying to write a test case for a method which calls a service with client Id and client Secret.But i am getting nullpointer exception from the Junit.I am not able to pass