Extract clojure.contrib.mock as separate library
##Usage
(expect [slurp (->>
(has-args [#(re-find #"^http://google.com/" %)])
(times once)
(returns "success"))]
(is (= "success" (slurp "http://google.com/test")))))
Depend on [org.clojars.echo/test.mock "0.1.2"]
in your project.clj
Distributed under the Eclipse Public License, the same as Clojure.