BudgetAnalyser.Engine.UnitTest.Statement.AnzVisaStatementImporterV1Test.LoadShouldThrowIfFileNotFound C# (CSharp) Метод

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

private LoadShouldThrowIfFileNotFound ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task
        public async Task LoadShouldThrowIfFileNotFound()
        {
            var subject = Arrange();
            BankImportUtilities.AbortIfFileDoesntExistOverride = s => { throw new FileNotFoundException(); };
            await subject.LoadAsync("foo.bar", StatementModelTestData.VisaAccount);
            Assert.Fail();
        }