def METHOD_NAME():
    n_tracking_hour = 1
    solver = pyo.SolverFactory("cbc")
    # By definition, the model object should contain these methods
    method_list = [
        "populate_model",
        "get_implemented_profile",
        "update_model",
        "get_last_delivered_power",
        "record_results",
        "write_results",
    ]
    # test if the correct error message is raised if a model misses necessary methods
    for m in method_list:
        tracking_model_object = TestMissingModel(missing_method=m)
        with pytest.raises(AttributeError, match=r".*{}().*".format(m)):
            tracker_object = Tracker(
                tracking_model_object=tracking_model_object,
                tracking_horizon=horizon,
                n_tracking_hour=n_tracking_hour,
                solver=solver,
            )