Example #1
0
 /// <summary>
 /// Do tear down in Dispose method.
 /// </summary>
 public void Dispose()
 {
     // Teardown
     _fakeHttp = null;
 }
Example #2
0
 /// <summary>
 /// Do setup using ctor.
 /// </summary>
 public FakeHttpTest2()
 {
     // Setup: DI by hand
     _fakeHttp = new FakeHttp(new MyHttpClient());
 }