I wanted to log the data retrieved by OkHttpClient for debugging purposes. After digging for a while, the process seems quite straight-forward now.
First, we
TL;DR: Put your data files in test/resources and access it with:
InputStream inputStream = this.getClass()
.getClassLoader()
.getResourceAsStream(path);
I've got an