public static void BeforeTestRun()
 {
     //Load up a few data bits for our scenarios
     var repo = new FakePartsRepository();
     _payTasks = new PaymentTasks(repo);
 }
示例#2
0
 public HomeController()
 {
     _kernel.Load("Modules.*.dll");
     _parts = _kernel.Get<PartsTasks>();
     _pay = _kernel.Get<PaymentTasks>();
 }