handstandsam / AndroidHttpMockingExamples

"androidTest" Examples for WireMock 2.x and okhttp MockWebServer 3.x
Apache License 2.0
40 stars 11 forks source link

Take Path Of json file #4

Open shiva28U opened 6 years ago

shiva28U commented 6 years ago

Hi,

I trying to mock response by keeping files inside the project,But this line is not working and I cant get this. String jsonBody = asset(activity, "atlanta-conditions.json"); What is that asset mentioned in this line. Thanks in advance.