            [marceline.storm.trident ClojureTridentTuple]
            [storm.trident.testing
             MemoryMapState$Factory
-            LRUMemoryMapState$Factory MockTridentTuple]
+            LRUMemoryMapState$Factory]
            [storm.trident.operation.impl CaptureCollector]
            [storm.trident.operation TridentOperationContext]
-           [storm.trident.tuple TridentTupleView$RootFactory TridentTuple$Factory]
+           [storm.trident.tuple
+            TridentTupleView
+            TridentTupleView$RootFactory
+            TridentTuple$Factory]
            [backtype.storm.tuple Fields]
            [backtype.storm.task TopologyContext]))
 

  "Create a new mock trident tuple. Field values should come in the format of field, value, field value. e.g:
   (new-mocj-tuple :a \"a-value\" :b \"b-value\" :c \"c what I did there?\")"
  [& args]
  (let [fields (map name (take-nth 2 args))
        values (take-nth 2 (rest args))]
    (MockTridentTuple. fields values)))

(defn- new-nil-context
  "Creates a TridentOperationContext with nil topology and tuple factory for testing."

     :zero         (.zero aggregator)
     :combine      (.combine aggregator (.init aggregator mtuple1) (.init aggregator mtuple2))
     :combine-zero (.combine aggregator (.init aggregator mtuple1) (.zero aggregator))}))
