def METHOD_NAME(make_facade):
    """Tests whether ask followed by a tell works."""
    model, smac = make_facade(deterministic=False, use_instances=True)
    for _ in range(smac._scenario.n_trials):
        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)
    assert smac.intensifier.get_incumbent() == smac.optimize()