public SuperStudentDiscountOracle(SuperStudentDiscountApiTestCase testCase) { _testCase = testCase; _httpClient.DefaultRequestHeaders .Accept .Add(new MediaTypeWithQualityHeaderValue("application/json")); }
private bool IsEqual(SuperStudentDiscountApiTestCase testCase) { return(testCase.DriverAge.Equals(this.DriverAge) && testCase.DriverGPA.Equals(this.DriverGPA) && testCase.MaritalStatus.Equals(this.MaritalStatus) && testCase.Relationship.Equals(this.Relationship) && testCase.StudentStatus.Equals(this.StudentStatus) && testCase.Violations.Equals(this.Violations)); }
public bool Equal(SuperStudentDiscountApiTestCase testCase) { if (object.ReferenceEquals(null, testCase)) { return(false); } if (object.ReferenceEquals(this, testCase)) { return(true); } return(IsEqual(testCase)); }