Ejemplo n.º 1
0
        public void PerformBorrowingProcess_CanFetchBorrowingDetails()
        {
            var bookId = _screenHelper.Object.GetBookId();
            var reader = _screenHelper.Object.GetNewReader();
            var days   = _screenHelper.Object.GetBorrowDays();

            _borrow.PerformBorrowingProcess();

            _bookRepository.Verify(b => b.BorrowABook(bookId, reader, days), Times.Once);
        }