 
 (fact "default prerequisites work with vars"
   (config/with-augmented-config {:partial-prerequisites true}
-    (#'midje.internal-ideas.t-fakes/var-twice) => 201
+    (#'midje.data.t-prerequisite-state/var-twice) => 201
     (provided
-      (#'midje.internal-ideas.t-fakes/var-inc 2) => 200)))
+      (#'midje.data.t-prerequisite-state/var-inc 2) => 200)))
 
 ;;; Unfolded prerequisites
 

  (var-inc-local (var-inc-local 2)))

(fact "can fake private remote-namespace functions using vars"
  (#'midje.internal-ideas.t-fakes/var-inc-user 2) => 400
  (provided
    (#'midje.internal-ideas.t-fakes/var-inc 2) => 200))

(fact "and can fake local functions using vars"
  (#'var-inc-user-local 2) => 400

   (var-inc-local (var-inc-local 2))  => 201))

(defn here-and-there []
  (var-inc-local (#'midje.data.t-prerequisite-state/var-inc 2)))
  
(fact "vars also work with unfolded prerequisites"
  (here-and-there) => 201
  (provided
   (var-inc-local (#'midje.data.t-prerequisite-state/var-inc 2)) => 201))

(defn there-and-here []
  (#'midje.data.t-prerequisite-state/var-inc (var-inc-local 2)))
  
(fact "vars also work with unfolded prerequisites"
  (there-and-here) => 201
  (provided
   (#'midje.data.t-prerequisite-state/var-inc (var-inc-local 2)) => 201))

(defn over-there-over-there-spread-the-word-to-beware []
  (#'midje.data.t-prerequisite-state/var-inc
   (#'midje.data.t-prerequisite-state/var-inc 2)))
  
(fact "vars also work with unfolded prerequisites"
  (over-there-over-there-spread-the-word-to-beware) => 201
  (provided
   (#'midje.data.t-prerequisite-state/var-inc
    (#'midje.data.t-prerequisite-state/var-inc 2)) => 201))

 (fact "exceptions do not blow up"
   (odd? "foo") => (throws Exception)
