def METHOD_NAME(log, user_features, item_features, model):
    with pytest.raises(ValueError, match="features for .*"):
        model.fit(
            log.filter(sf.col("user_idx") != 0),
            user_features.filter(sf.col("user_idx") != 1),
            item_features,
        )