示例#1
0
        public MockRapidHttpClientTests()
        {
            testCase1 = A.Fake <IMockRapidHttpClientTestCase>();
            testCase2 = A.Fake <IMockRapidHttpClientTestCase>();
            testCase3 = A.Fake <IMockRapidHttpClientTestCase>();

            client = new MockRapidHttpClient();
        }
 /// <summary>
 /// Add a test case
 /// </summary>
 /// <param name="testCase">The test case</param>
 public virtual MockRapidHttpClient AddTestCase(IMockRapidHttpClientTestCase testCase)
 {
     testCases.Add(testCase);
     return(this);
 }