def METHOD_NAME(self):
    template = PotentialTemplate(
        expression="a*x+b",
        independent_variables={"x"},
        expected_parameters_dimensions={"a": "length", "b": "length"},
    )
    with pytest.raises(TypeError):
        template.assert_can_parameterize_with(object())