public void SetUp()
        {
            mockCustomerRepo = Substitute.For<ICustomerRepository>();
            mockEmployeeRepo = Substitute.For<IEmployeeRepository>();
            mockServiceTicketRepo = Substitute.For<IServiceTicketRepository>();
            mockLogEntryRepo = Substitute.For<IServiceLogEntryRepository>();
            mockScheduleItemRepo = Substitute.For<IScheduleItemRepository>();

            controller = new ServiceTicketsController(
                mockCustomerRepo,
                mockEmployeeRepo,
                mockServiceTicketRepo,
                mockLogEntryRepo,
                mockScheduleItemRepo
            );
        }
        public void SetupController()
        {
            mockCustomerRepo = new DynamicMock(typeof(ICustomerRepository));
            mockEmployeeRepo = new DynamicMock(typeof(IEmployeeRepository));
            mockServiceTicketRepo = new DynamicMock(typeof(IServiceTicketRepository));
            mockLogEntryRepo = new DynamicMock(typeof(IServiceLogEntryRepository));
            mockScheduleItemRepo = new DynamicMock(typeof(IScheduleItemRepository));

            controller = new ServiceTicketsController(
                mockCustomerRepo.MockInstance as ICustomerRepository,
                mockEmployeeRepo.MockInstance as IEmployeeRepository,
                mockServiceTicketRepo.MockInstance as IServiceTicketRepository,
                mockLogEntryRepo.MockInstance as IServiceLogEntryRepository,
                mockScheduleItemRepo.MockInstance as IScheduleItemRepository
            );
        }