def METHOD_NAME(log, user_features, item_features, model):
    with pytest.raises(
        ValueError, match="Item features are missing for predict"
    ):
        model.fit(log, None, item_features)
        pred = model.predict_pairs(
            log.select("user_idx", "item_idx"),
            user_features=None,
            item_features=None,
        )