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