def METHOD_NAME(poly_case, storage):
    ert = poly_case
    args = Namespace(
        realizations="0-4,7,8",
        current_case="default",
        target_case="test_case_%d",
        num_iterations="10",
    )
    model = model_factory._setup_iterative_ensemble_smoother(
        ert,
        storage,
        args,
        UUID(int=0),
    )
    assert isinstance(model, IteratedEnsembleSmoother)
    assert len(model._simulation_arguments.keys()) == 6
    assert "active_realizations" in model._simulation_arguments
    assert "target_case" in model._simulation_arguments
    assert "analysis_module" in model._simulation_arguments
    assert "num_iterations" in model._simulation_arguments
    assert LibresFacade(ert).get_number_of_iterations() == 10