예제 #1
0
        public void PropertyManager_AddNew_Invoke_ThrowsNotSupportedException()
        {
            var             context = new BindingContext();
            var             source  = new BindingSource();
            PropertyManager manager = Assert.IsType <PropertyManager>(context[new DataSource()]);

            Assert.Throws <NotSupportedException>(() => manager.AddNew());
        }