Esempio n. 1
0
 protected override void before_each()
 {
     base.before_each();
     the_product = RxProduct.Empty;
     the_drugs   = new List <Drug>();
     the_results = null;
 }
Esempio n. 2
0
 public static void Delete(this RxProduct product)
 {
     management.DeleteProduct(product);
 }
Esempio n. 3
0
 public static RxProduct Save(this RxProduct product)
 {
     management.SaveProduct(product);
     return(product);
 }
Esempio n. 4
0
 private void a_product_with_no_group()
 {
     the_product = new ProductBuilder().WithGroup(RxProduct.Grouping.Empty).WithCode(a_product_code).Build().Save();
 }
Esempio n. 5
0
 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();
 }