BudgetAnalyser.Engine.UnitTest.Services.ApplicationDatabaseServiceTest.NotifyOfChange_ShouldIndicateUnsavedChanges C# (CSharp) Method

NotifyOfChange_ShouldIndicateUnsavedChanges() private method

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