public void AddOrderToDBTest() { MongoContext connector = new MongoContext(); var order = new Order() { // IsValid = true, // ReceivedDT = DateTime.Now, // Status = OrderStatus.New, // OrderForm = new OrderFormDto("TST", 12.2f, 1500, "134124134", DateTime.Now, OrderType.Buy) }; connector.AddOrderToDb(order); }