def METHOD_NAME(stub_broker):
    # Given that some actors
    @remoulade.actor
    def add(x, y):
        return x + y
    @remoulade.actor
    def modulo(x, y):
        return x % y
    # And these actors are declared
    stub_broker.declare_actor(add)
    stub_broker.declare_actor(modulo)
    # Given a new broker
    new_broker = StubBroker()
    remoulade.change_broker(new_broker)
    # I expect them to have the same actors
    assert stub_broker.actors == new_broker.actors