BudgetAnalyser.Engine.UnitTest.Services.ApplicationDatabaseServiceTest.NotifyOfChange_ShouldIndicateUnsavedChanges C# (CSharp) Méthode

NotifyOfChange_ShouldIndicateUnsavedChanges() private méthode

private NotifyOfChange_ShouldIndicateUnsavedChanges ( ) : void
Résultat void
        public void NotifyOfChange_ShouldIndicateUnsavedChanges()
        {
            foreach (var dataType in Enum.GetValues(typeof(ApplicationDataType)))
            {
                this.subject.NotifyOfChange((ApplicationDataType) dataType);
                Assert.IsTrue(this.subject.HasUnsavedChanges);
                TestInitialise();
            }
        }