public static HttpClient FakeClientWithFileResponse(string fileName, string filePath)
 {
     if (!string.IsNullOrEmpty(filePath))
     {
         var fakeHandler = new FakeHttpHandler(fileName, filePath);
         return new HttpClient(fakeHandler);
     }
     else
     {
         var fakeHandler = new FakeHttpHandler(null);
         return new HttpClient(fakeHandler);
     }
 }
 public static HttpClient FakeClientWithJsonResponse(string jsonFilepath)
 {
     if (!string.IsNullOrEmpty(jsonFilepath))
     {
         var json = File.ReadAllText(jsonFilepath);
         var fakeHandler = new FakeHttpHandler(json);
         return new HttpClient(fakeHandler);
     }
     else
     {
         var fakeHandler = new FakeHttpHandler(null);
         return new HttpClient(fakeHandler);
     }
 }