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