def METHOD_NAME(self):
    model = pybamm.current_collector.EffectiveResistance({"dimensionality": 1})
    self.assertIsInstance(model.default_solver, pybamm.CasadiAlgebraicSolver)
    model = pybamm.current_collector.EffectiveResistance({"dimensionality": 2})
    self.assertIsInstance(model.default_solver, pybamm.CasadiAlgebraicSolver)