def METHOD_NAME(monkeypatch):
    """Verify number of runs"""
    N_RUNS = 5
    seeds = set()
    n_runs = 0
    def mock_train_regressor(*args, **kwargs):
        nonlocal n_runs
        n_runs += 1
        seeds.add(kwargs["random_state"])
        return train_regressor(*args, **kwargs)
    monkeypatch.setattr(
        "orion.analysis.lpi_utils.train_regressor", mock_train_regressor
    )
    lpi(data, space, random_state=1, n_runs=N_RUNS)
    assert n_runs == N_RUNS
    assert len(seeds) > 0