public async void DeleteBookTest_DeletesBookFromTheDatabaseAndReturnsIfDeleted()
        {
            var connectionMock = new Mock <DbConnection>();

            connectionMock
            .SetupDapperAsync(c => c.ExecuteAsync(It.IsAny <string>(), It.IsAny <object>(), It.IsAny <IDbTransaction>(), It.IsAny <int?>(), It.IsAny <CommandType?>()))
            .ReturnsAsync(1);

            var connectionFactoryMock = new Mock <IDbConnectionFactory>();

            connectionFactoryMock
            .Setup(m => m.CreateConnection())
            .Returns(connectionMock.Object);

            var booksRepository = new BooksRepository(connectionFactoryMock.Object);

            var deletedBook = await booksRepository.DeleteAsync("Test ISBN");

            Assert.True(deletedBook);
        }