示例#1
0
        public void UpdateLoanToWriteOff()
        {
            _loan.WrittenOff = false;
            _loan.Id         = _loanManager.Add(_loan, 1);
            _loanManager.UpdateLoanToWriteOff(_loan.Id);

            Loan updatedLoan = _loanManager.SelectLoan(_loan.Id, false, false, false);

            Assert.IsTrue(updatedLoan.WrittenOff);
        }