def METHOD_NAME(two_stages_kwargs):
    two_stages = TwoStagesScenario(**two_stages_kwargs)
    assert isinstance(two_stages.fallback_model, PopRec)
    assert isinstance(two_stages.second_stage_model, LamaWrap)
    assert isinstance(
        two_stages.features_processor, HistoryBasedFeaturesProcessor
    )
    assert isinstance(
        two_stages.first_level_item_features_transformer,
        ToNumericFeatureTransformer,
    )
    assert two_stages.use_first_level_models_feat == [True, True, True]
    two_stages_kwargs["use_first_level_models_feat"] = [True]
    with pytest.raises(
        ValueError, match="For each model from first_level_models specify.*"
    ):
        TwoStagesScenario(**two_stages_kwargs)
    two_stages_kwargs["use_first_level_models_feat"] = True
    two_stages_kwargs["negatives_type"] = "abs"
    with pytest.raises(ValueError, match="Invalid negatives_type value.*"):
        TwoStagesScenario(**two_stages_kwargs)