Exemple #1
0
        public async Task <AddHistoryDTO> History_AddHistoryAsync_Return_AddHistoryDTO()
        {
            CreateDefaultHistoryServiceInstance();
            var history = _mapper.Map <AddHistoryDTO>(_fakeHistoryDtos[0]);

            var bonus = await _historyService.AddHistory(history, default(CancellationToken));

            Assert.NotNull(history);
            return(history);
        }