       (def messages-sent (atom {}))
 
       ; When
-      (trumpet! trumpeteer1 {:trumpetees   [trumpeteer1 trumpeteer2 trumpeteer3 trumpeteer4 trumpeteer5 trumpeteer6]
-                             :broadcast-fn (fn [id message] (swap! messages-sent assoc id message))
-                             :trumpet      "Hello World!"})
+      (.trumpet! trumpeteer1 {:trumpetees   [trumpeteer1 trumpeteer2 trumpeteer3 trumpeteer4 trumpeteer5 trumpeteer6]
+                              :broadcast-fn (fn [id message] (swap! messages-sent assoc id message))
+                              :trumpet      "Hello World!"})
 
       ; Then
       (keys (deref messages-sent)) => (just (list 2 3 4) :in-any-order))

(ns trumpet-server.domain.trumpeteer-trumpet-test
  (:require [midje.sweet :refer :all]
            [trumpet-server.domain.trumpeteer :refer :all]))

(fact "Send trumpet to all trumpeteers execept self and those that are out-of-range"
      ; Given

      (def messages-sent (atom {}))

      ; When
      (.trumpet! trumpeteer1 {:trumpetees          [trumpeteer1 trumpeteer2 trumpeteer3 trumpeteer4 trumpeteer5 trumpeteer6]
                              :broadcast-fn        (fn [id message] (swap! messages-sent assoc id message))
                              :trumpet             "Hello World!"
                              :max-distance-meters nil})
      ; Then
      (keys (deref messages-sent)) => (just (list 2 3 4) :in-any-order))

