def METHOD_NAME(poly_case, storage):
    ert = poly_case
    args = Namespace(
        realizations="0-4,7,8", current_case="default", target_case="test_case"
    )
    model = model_factory._setup_ensemble_smoother(
        ert,
        storage,
        args,
        UUID(int=0),
    )
    assert isinstance(model, EnsembleSmoother)
    assert len(model._simulation_arguments.keys()) == 5
    assert "active_realizations" in model._simulation_arguments
    assert "target_case" in model._simulation_arguments
    assert "analysis_module" in model._simulation_arguments