BudgetAnalyser.Engine.UnitTest.Matching.XamlOnDiskMatchingRuleRepositoryTest.LoadShouldThrowIfFileNotFound C# (CSharp) Méthode

LoadShouldThrowIfFileNotFound() private méthode

private LoadShouldThrowIfFileNotFound ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task
        public async Task LoadShouldThrowIfFileNotFound()
        {
            var subject = ArrangeUsingMocks();
            subject.ExistsOveride = filename => false;
            await subject.LoadAsync("Foo.bar", false);
            Assert.Fail();
        }