       rep-diff (partial extensions/replica-diff entry)
       rep-reactions (partial extensions/reactions entry)
       old-replica {:pairs {:a :b :b :a} :peers [:a :b]
+                   :messaging {:onyx.messaging/impl :dummy-messenger}
                    :job-scheduler :onyx.job-scheduler/greedy}
       new-replica (f old-replica)
       diff (rep-diff old-replica new-replica)]

(ns onyx.log.leave-cluster-test
  (:require [onyx.extensions :as extensions]
            [onyx.log.entry :refer [create-log-entry]]
            [onyx.system]
            [midje.sweet :refer :all]))


      rep-diff (partial extensions/replica-diff entry)
      rep-reactions (partial extensions/reactions entry)
      old-replica {:pairs {:a :b :b :c :c :a} :peers [:a :b :c]
                   :messaging {:onyx.messaging/impl :dummy-messenger}
                   :job-scheduler :onyx.job-scheduler/greedy}
      new-replica (f old-replica)
      diff (rep-diff old-replica new-replica)]
