Exemplo n.º 1
0
 public static int CreateOrderItemInDB()
 {
     return(DBOrderItemHandler.CreateOrderItem(OrderItem.NewBuilder()
                                               .SetId(0)
                                               .SetCost(7500.0)
                                               .SetItemPrice(500.0)
                                               .SetQuantity(3)
                                               .SetDimensionReference(2)
                                               .SetOrderReference(7)
                                               .SetProductReference(6)
                                               .Build()));
 }
 public void TearDown()
 {
     DBOrderItemHandler.DeleteOrderItemById(testOrderItem);
     DBOrderHandler.DeleteOrderById(testOrderId);
 }