def METHOD_NAME(simulation_factory, two_particle_snapshot_factory,
                   add_default_integrator):
    # create simulation & attach objects
    sim = simulation_factory(two_particle_snapshot_factory())
    mc, lattice = add_default_integrator(sim)
    # create C++ mirror classes and set parameters
    sim.run(0)
    # make sure objecst are attached
    assert mc._attached
    assert lattice._attached