1.2.0 permalink Arrow_down_16x16
  • (validate-counts mock-data)
given the sequence of all mock data for the expectation, simply calls the
count checker for each dependency.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/mock.clj:175 top

(defn validate-counts
  "given the sequence of all mock data for the expectation, simply calls the
count checker for each dependency."
  [mock-data] (doseq [[mfn i checker fn-name] mock-data] (checker fn-name @i)))
Vars in clojure.contrib.mock.test-adapter/validate-counts: defn doseq deref
Used in 0 other vars

Comments top

No comments for validate-counts. Log in to add a comment.