public MockEhlHttpClient Mock_PostSwitchesApiGetResponse(string fileName, string urlFilter) { _mockMapPost[urlFilter] = new MockEntry(fileName, HttpStatusCode.OK, null); return(this); }
public MockEhlHttpClient Mock_GetApiResponse(string fileName, string urlFilter, HttpStatusCode responseStatusCode = HttpStatusCode.OK, WebException exception = null) { _mockMapGet[urlFilter] = new MockEntry(fileName, responseStatusCode, exception); return(this); }