public void HasBeenModifiedAggregates()
        {
            var collection = new DummyPropertyCollection(BindingState.Bound, BindingAccess.Read | BindingAccess.Write);

            collection.DummyProperty.Value = 5;
            Assert.True(collection.HasBeenModified);
        }
        public void ReadOnlyPropagates()
        {
            var collection = new DummyPropertyCollection(BindingState.Bound, BindingAccess.Read | BindingAccess.Write);

            collection.IsReadOnly = true;
            Assert.True(collection.IsReadOnly);
            Assert.True(collection.DummyProperty.IsReadOnly);
        }
        public void CanReadBindingState()
        {
            var collection = new DummyPropertyCollection(BindingState.Bound, BindingAccess.Read | BindingAccess.Write);

            Assert.Equal(BindingState.Bound, collection.BindingState);
        }