public void OnDeserialized_MonitorNotInitialized_ExpectSuccess()
        {
            var        observableCollection     = new ObservableList <int>();
            MethodInfo onDeserializedMethodInfo = observableCollection.GetType().GetMethod("OnDeserialized",
                                                                                           BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);

            Assert.NotNull(onDeserializedMethodInfo);
            onDeserializedMethodInfo.Invoke(observableCollection, new object[] { null });
        }
            public void CreateListFromObservableList()
            {
                var observableList = new ObservableList <int>();

                Assert.AreNotEqual(typeof(List <int>), observableList.GetType());

                var list = observableList.ToList();

                Assert.AreEqual(typeof(List <int>), list.GetType());
            }
        public void can_create_list_binding()
        {
            var testObject = new BindingsFactory();


            var parent = new object();
            var list   = new ObservableList <int>();

            var binding = testObject.CreateValueBinding(parent, list, list.GetType());

            Assert.NotNull(binding);
            Assert.IsType(typeof(ListBinding), binding);
        }