public async Task CanPrepareWishlistModel() { var model = await _shoppingCartModelFactory.PrepareWishlistModelAsync(new WishlistModel(), new List <ShoppingCartItem> { _wishlistItem }); var customer = await _workContext.GetCurrentCustomerAsync(); model.CustomerFullname.Should().Be("John Smith"); model.CustomerGuid.Should().Be(customer.CustomerGuid); model.EmailWishlistEnabled.Should().BeTrue(); model.IsEditable.Should().BeTrue(); model.Items.Any().Should().BeTrue(); model.Items.Count.Should().Be(1); model.Warnings.Count.Should().Be(0); }