 
           produced (produce event)]
 
-      (is string? (produce event)))))
+      (check-produce-response produced))))


          produced (produce event)]

      (is string? produced))))

(deftest-for-each-producer test-producer-event-verdict-change
  (testing "Produce VerdictChange Event"

(defmacro deftest-for-each-producer [test-name & body]
  `(helpers/deftest-for-each-fixture ~test-name
     {:es-producer (join-fixtures [es-helpers/fixture-properties:es-producer
                                   helpers/fixture-ctia
                                   es-helpers/fixture-recreate-producer-indexes])}
     ~@body))

(defn check-produce-response [produced]
  (map #(is (string? %)) produced))


(deftest-for-each-producer test-producer-event-create

  (testing "Produce CreatedModel Event"
    (let [event {:owner "test-owner"
                 :timestamp (java.util.Date.)
