BudgetAnalyser.Engine.UnitTest.Statement.CsvOnDiskStatementModelRepositoryV1Test.Load_ShouldReturnStatementModelWithZeroDuration_GivenFileWithNoTransactions C# (CSharp) Метод

Load_ShouldReturnStatementModelWithZeroDuration_GivenFileWithNoTransactions() приватный Метод

private Load_ShouldReturnStatementModelWithZeroDuration_GivenFileWithNoTransactions ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task
        public async Task Load_ShouldReturnStatementModelWithZeroDuration_GivenFileWithNoTransactions()
        {
            var subject = Arrange();
            subject.ReadLinesOverride = file => BudgetAnalyserRawCsvTestDataV1.EmptyTestData();
            var model = await subject.LoadAsync("Foo.foo", false);

            Assert.AreEqual(0, model.DurationInMonths);
        }