Creates a fake CockpitHttpClient whose get method returns canned responses.
CockpitHttpClient
get
Map of URL paths to response body strings. Unmatched paths return "{}".
"{}"
Creates a fake
CockpitHttpClientwhosegetmethod returns canned responses.