testImplementation 'com.github.andrzejchm.RESTMock:android:0.3.1'
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
use
RESTMockServer.whenGET(pathContains("users/andrzejchm"))
.thenReturnFile(200, "users/andrzejchm.json");