protected override void before_each() { base.before_each(); the_product = RxProduct.Empty; the_drugs = new List <Drug>(); the_results = null; }
public static void Delete(this RxProduct product) { management.DeleteProduct(product); }
public static RxProduct Save(this RxProduct product) { management.SaveProduct(product); return(product); }
private void a_product_with_no_group() { the_product = new ProductBuilder().WithGroup(RxProduct.Grouping.Empty).WithCode(a_product_code).Build().Save(); }
private void a_product_in_a_group() { the_product = new ProductBuilder().WithGroup((new RxProduct.Grouping(123546, "A Product Group"))).WithCode(a_product_code).Build().Save(); }