public async Task ThrowNotFoundExceptionForNonExistingEntry()
        {
            // Arrange
            GetLedgerEntryByIdQuery query = new GetLedgerEntryByIdQuery()
            {
                Id = 1
            };
            // Act

            // Assert
            await Assert.ThrowsAsync <NotFoundException> (() => handler.Handle(query, CancellationToken.None));
        }
        public async Task ReturnSingleLedgerEntry()
        {
            // Arrange
            GetLedgerEntryByIdQuery query = new GetLedgerEntryByIdQuery()
            {
                Id = 10
            };
            // Act
            var result = await handler.Handle(query, CancellationToken.None);

            // Assert
            Assert.IsType <LedgerEntryViewModel> (result);
            Assert.Equal(10, result.Id);
        }