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