예제 #1
0
        public void DetectDuplicateTransactions_ShouldSummaryText_GivenTestData4()
        {
            this.testData = StatementModelTestData.TestData4();
            Arrange();

            string result = this.subject.DetectDuplicateTransactions();

            Console.WriteLine(result);
            Assert.IsFalse(string.IsNullOrWhiteSpace(result));
        }
예제 #2
0
        public void Reconcile_ShouldThrowWhenAutoMatchingTransactionAreMissingFromStatement_GivenTestData5()
        {
            try
            {
                ActOnTestData5(StatementModelTestData.TestData4());
            }
            catch (ValidationWarningException ex)
            {
                if (ex.Source == "1")
                {
                    return;
                }
            }

            Assert.Fail();
        }