예제 #1
0
 /// <summary>
 /// Adds the end point.
 /// </summary>
 /// <param name="endPoint">The end point.</param>
 /// <param name="responseCode">The response code.</param>
 public void AddEndPoint(string endPoint, HttpStatusCode responseCode)
 {
     FakeResponseHandler.AddFakeResponse(new Uri($"{BaseUrl}{endPoint}"), responseCode);
 }
예제 #2
0
 /// <summary>
 /// Adds the end point.
 /// </summary>
 /// <param name="endPoint">The end point.</param>
 /// <param name="response">The response.</param>
 public void AddEndPoint(string endPoint, HttpResponseMessage response)
 {
     FakeResponseHandler.AddFakeResponse(new Uri($"{BaseUrl}{endPoint}"), response);
 }