public void Reconcile_ShouldThrow_GivenTestData1AndUnclassifiedTransactions()
{
this.testDataStatement = new StatementModelBuilder()
.TestData1()
.AppendTransaction(new Transaction
{
Account = StatementModelTestData.ChequeAccount,
Amount = 12.45M,
Date = ReconcileDate.AddDays(-1),
Description = "Foo bar"
})
.Build();
try
{
Act();
}
catch (ValidationWarningException ex)
{
if (ex.Source == "3") return;
}
Assert.Fail();
}