def METHOD_NAME(self):
    options = {"not an option": "something"}
    with self.assertRaisesRegex(
        pybamm.OptionError, "Option 'not an option' not recognised"
    ):
        pybamm.equivalent_circuit.Thevenin(options=options)