def METHOD_NAME(make_facade):
    """Tests whether ask followed by a tell works after the optimization."""
    model, smac = make_facade(deterministic=False, use_instances=True)
    smac.optimize()
    trials = len(smac.runhistory)
    for _ in range(10):
        trial_info = smac.ask()
        cost = model.train(trial_info.config, seed=trial_info.seed, instance=trial_info.instance)
        trial_value = TrialValue(cost=cost, time=0.5)
        smac.tell(trial_info, trial_value)
    # We should have more entries in the runhistory now
    assert trials < len(smac.runhistory)