Use generic mock for analyzer factory