             [clj-http.client :as http-client]
             [freefrog.rest :as r]
             [freefrog.persistence :as p])
-  (:use [ring.adapter.jetty])
   (:import [javax.persistence EntityNotFoundException]
-           [org.apache.http HttpStatus]))
+           [org.apache.http HttpStatus])
+  (:use [ring.adapter.jetty]))
 
 (def test-server (ref nil))
 


    (context "with a non-existent governance endpoint"
      (around [it]
        (with-redefs [p/get-governance-log govt-meeting-not-found-thrower]
          (it)))

      (context "putting to the agenda endpoint"


(def sample-gov-log {:body "Add role\nRename accountability."})

(defn throw-circle-not-found [& args]
  (throw (EntityNotFoundException. "Circle does not exist")))

(defn throw-meeting-not-found [& args]
  (throw (EntityNotFoundException. "Governance meeting does not exist")))

(defmacro it-responds-with-status [expected-status response]
