public void CustomerController_ArchiveCustomer_Update_CallsCustomerServiceUpdate()
        {
            #region Arrange


            #endregion

            #region Act

            _controllerWithMockedCustomerService.ArchiveCustomer(2);

            #endregion

            #region Assert

            _mockCustomerService.Verify(x => x.Update(It.IsAny <Customer>()), Times.Once);

            #endregion
        }
        public void CustomerController_ArchiveCustomer_CallsRepositoryGetByIdUpdateAndUnitOfWork()
        {
            #region Arrange


            #endregion

            #region Act

            _controller.ArchiveCustomer(2);

            #endregion

            #region Assert

            _mockCustomerRepository.Verify(x => x.GetById(It.IsAny <int>()), Times.Once);
            _mockCustomerRepository.Verify(x => x.Update(It.IsAny <Customer>()), Times.Once);
            _mockUnitOfWork.Verify(x => x.Save(), Times.Once);

            #endregion
        }