public void ValiadteReturnsExpected(
     string startDate1, string endDate1, double price1,
     string startDate2, string endDate2, double price2,
     bool expected )
 {
     // Fixture setup
     var subscription = new Subscription();
     var term1 = createTerm(startDate1, endDate1, price1);
     var term2 = createTerm(startDate2, endDate2, price2);
     subscription.Terms.Add(term1);
     subscription.Terms.Add(term2);
     // Exercise system
     var sut = new RefactoredOverlappingSubscriptionTermWithConflictingPriceValidator();
     var actual = sut.Validate(subscription);
     // Verify outcome
     Assert.Equal(expected, actual);
     // Teardown
 }
        public void ValiadteReturnsExpected(
            string startDate1, string endDate1, double price1,
            string startDate2, string endDate2, double price2,
            bool expected)
        {
            // Fixture setup
            var subscription = new Subscription();
            var term1        = createTerm(startDate1, endDate1, price1);
            var term2        = createTerm(startDate2, endDate2, price2);

            subscription.Terms.Add(term1);
            subscription.Terms.Add(term2);
            // Exercise system
            var sut    = new RefactoredOverlappingSubscriptionTermWithConflictingPriceValidator();
            var actual = sut.Validate(subscription);

            // Verify outcome
            Assert.Equal(expected, actual);
            // Teardown
        }