public void Setup() { _projectService = Substitute.For <IProjectService>(); _projectPurchaseOrderService = Substitute.For <IProjectPurchaseOrderService>(); _projectRequistionService = Substitute.For <IProjectRequisitionService>(); _unitOfWork = Substitute.For <IUnitOfWork>(); _controller = new TransactionViewController(_projectService, _projectPurchaseOrderService, _projectRequistionService, _unitOfWork); }
public static TransactionViewController Fixture() { TransactionViewController controller = new TransactionViewController(new TransactionViewRepository(), "", new LoginView()); return controller; }
public static TransactionViewController Fixture() { TransactionViewController controller = new TransactionViewController(new TransactionViewRepository(), "", new LoginView()); return(controller); }