public void Initialize()
 {
     _order = new Order();
     _order.Id = 10;
     _order.AddOrderItem(new OrderItem(12, new Product(2, "Rice")));
     _order.AddOrderItem(new OrderItem(13, new Product(3, "Sugar")));
 }
        public void SaveOrder()
        {
            Order order = new Order();
            order.Id = 0;
            order.Name = "Viji";
            order.AddOrderItem(new OrderItem(0, new Product(0, "Rice")));
            order.AddOrderItem(new OrderItem(0, new Product(0, "Sugar")));

            NodeMapper nodeMapper = new NodeMapper();
            nodeMapper.Save<Order>(order);
            Console.WriteLine(order.Id.ToString());
            Assert.AreNotEqual(0, order.Id);
        }