Пример #1
0
 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;
 }
Пример #3
0
        public static TransactionViewController Fixture()
        {
            TransactionViewController controller = new TransactionViewController(new TransactionViewRepository(), "", new LoginView());

            return(controller);
        }