Actually, I need to get a response of an API call, for that I required Context.
Context
Use this:
Robolectric.application