Makes sense. I think I could use a kotlin lang fea...
# squarelibraries
c
Makes sense. I think I could use a kotlin lang feature to start "faking" my api calls 1 by 1, but using
by
e.g.
class NewApi(realApi: Api) : Api by realApi
Last thing I suppose is if I wanted to fake 400s or 500s or something... I wouldn't be able to use the same solution as #2 right? Edit: Or actually I think I could use
Copy code
public static <T> Response<T> success(T body) {

public static <T> Response<T> success(T body, com.squareup.okhttp.Response rawResponse)

public static <T> Response<T> error(int code, ResponseBody body) {