public void ObservableCollectionTest()
        {
            ObservableCollection<FlatOrder> orders = new ObservableCollection<FlatOrder>();

            var flatOrder1 = new FlatOrder();
            var flatOrder2 = new FlatOrder();
            orders.Add(flatOrder2);
            Debug.WriteLine("Added {0}", flatOrder2.GetHashCode());
            orders.Add(flatOrder1);
            Debug.WriteLine("Added {0}", flatOrder1.GetHashCode());

            orders.Insert(1, new FlatOrder());

            Debug.WriteLine("Going to remove {0}", flatOrder1.GetHashCode());
            orders.Remove(flatOrder1);

            //Debug.WriteLine("Left {0}", orders.Single().GetHashCode());
        }
        public void OneLevelDepencyGenericTest()
        {
            var order = new FlatOrder();
            Assert.Equal(0, order.Cost);
            order.Price = 12;
            Assert.Equal(0, order.Cost);
            order.Quantity = 3;

            Assert.Equal(36, order.Cost);
        }