private Load_ShouldReturnStatementModelWithNoTransactions_GivenFileWithNoTransactions ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public async Task Load_ShouldReturnStatementModelWithNoTransactions_GivenFileWithNoTransactions()
{
var subject = Arrange();
subject.ReadLinesOverride = file => BudgetAnalyserRawCsvTestDataV1.EmptyTestData();
var model = await subject.LoadAsync("Foo.foo", false);
Assert.AreEqual(0, model.AllTransactions.Count());
}