def METHOD_NAME(sim, method, should_error=False):
    """Try adding method to FIRE's method list."""
    fire = md.minimize.FIRE(dt=0.0025,
                            force_tol=1e-1,
                            angmom_tol=1e-1,
                            energy_tol=1e-5)
    sim.operations.integrator = fire
    if should_error:
        with pytest.raises(ValueError):
            fire.methods.append(method)
    else:
        fire.methods.append(method)
    sim.run(0)