def METHOD_NAME(simulation_factory, two_particle_snapshot_factory):
    """Test that Cluster objects tune their kernel parameters."""
    sim = simulation_factory(two_particle_snapshot_factory())
    mc = hoomd.hpmc.integrate.Sphere(default_d=0.1, default_a=0.1)
    mc.shape['A'] = dict(diameter=1.1)
    mc.shape['B'] = dict(diameter=1.3)
    sim.operations.integrator = mc
    cl = hoomd.hpmc.update.Clusters(trigger=hoomd.trigger.Periodic(1),
                                    pivot_move_probability=0.1)
    sim.operations.updaters.append(cl)
    sim.run(0)
    autotuned_kernel_parameter_check(instance=cl, activate=lambda: sim.run(1))