             [clojure.test :refer :all]
             [com.gfredericks.test.chuck :refer [times]]
             [com.gfredericks.test.chuck.clojure-test :refer [checking]]
-            [onyx.peer.task-lifecycle :as t]
+            [onyx.flow-conditions.fc-routing :as r]
             [onyx.peer.task-compile :as c]
             [onyx.api]))
 

         downstream (mapcat :flow/to fcs)
         compiled (c/compile-fc-norms fcs :a)
         event {:onyx.core/compiled-norm-fcs compiled}
         results (t/route-data event nil nil fcs downstream)]
     (is (= (into #{} downstream) (into #{} (:flow/to results))))
     (is (nil? (:action results))))))


         downstream (mapcat :flow/to fcs)
         compiled (c/compile-fc-norms fcs :a)
         event {:onyx.core/compiled-norm-fcs compiled}
         results (r/route-data event nil nil fcs downstream)
         xform (:flow/post-transformation (first true-xform))]
     (is (= xform (:post-transformation results)))
     (is (nil? (:action results))))))
