Example #1
0
        public void NonEventChildMessageShouldNotGenerateEvents()
        {
            var allTypes = new TestAllTypes();

            allTypes.AllTypesNoEvents = new TestAllTypesNoEvents();
            AssertGenerated(allTypes);
            allTypes.ClearEvents();

            ApplyAllChanges(allTypes.AllTypesNoEvents);
            AssertNotGenerated(allTypes);
        }