Actually, I need to get a response of an API call, for that I required Context.
Context
Add
testImplementation "androidx.test:core-ktx:${deps.testrunner}"
And use:
private val app = ApplicationProvider.getApplicationContext()