コード例 #1
0
        public static OrderItem GetValidOrderItem(int productId = 0)
        {
            var product   = ProductEntityFixture.GetValidProduct();
            var orderItem = new OrderItem(
                product,
                QUANTITY,
                DISCOUNT);

            return(orderItem);
        }