public async Task InsertOrUpdateAsyncTest_NullWishlistBookMap_ThrowsNullReferenceException()
        {
            //arrange
            _mapper.WithMap(null);
            _access.WithInsertUpdateResult(true);

            _sut = new WishlistRepository(_access.Object, _mapper.Object);

            //act
            var result = await _sut.InsertOrUpdateAsync(WishlistBookTestUtils.GenerateValidWishlistBook());

            //assert
            Assert.IsFalse(result);
            _access.Verify(m => m.InsertOrUpdateAsync(It.IsAny <WishlistMap>()), Times.Never);
        }
        public async Task InsertOrUpdateAsyncTest_ValidWishlistBook_HappyPath()
        {
            //arrange
            _mapper.WithMap(WishlistMapTestUtils.GenerateValidWishlistBookMap());
            _access.WithInsertUpdateResult(true);

            _sut = new WishlistRepository(_access.Object, _mapper.Object);

            //act
            var result = await _sut.InsertOrUpdateAsync(WishlistBookTestUtils.GenerateValidWishlistBook());

            //assert
            Assert.IsTrue(result);
            _access.Verify(m => m.InsertOrUpdateAsync(It.IsAny <WishlistMap>()), Times.Once);
        }