def METHOD_NAME(lattice_snapshot_factory, simulation_factory):
    """Assert the minimizer can be pickled when attached/unattached."""
    snap = lattice_snapshot_factory(a=1.5, n=5)
    sim = simulation_factory(snap)
    nve = md.methods.ConstantVolume(hoomd.filter.All())
    fire = md.minimize.FIRE(dt=0.0025,
                            force_tol=1e-1,
                            angmom_tol=1e-1,
                            energy_tol=1e-5,
                            methods=[nve])
    operation_pickling_check(fire, sim)