def METHOD_NAME(self):
    "Tests multiple callbacks in a list"
    # Should work with empty callback list (does nothiing)
    callbacks = pybamm.callbacks.CallbackList([])
    callbacks.on_experiment_end(None)
    # Should work with multiple callbacks
    callback = pybamm.callbacks.CallbackList(
        [
            DummyCallback("test_callback.log", "first"),
            DummyCallback("test_callback_2.log", "second"),
        ]
    )
    callback.on_experiment_end(None)
    with open("test_callback.log", "r") as f:
        self.assertEqual(f.read(), "first\n")
    with open("test_callback_2.log", "r") as f:
        self.assertEqual(f.read(), "second\n")