   (:require [clojure.test :refer :all]
             [graphql-clj.type :as type]
             [graphql-clj.parser :as parser]
+            [graphql-clj.resolver :as resolver]
             [clojure.core.match :as match]))
 
 (def simple-user-schema

    (let [schema (create-test-schema simple-user-schema)
          query "query {user {name friends{name}}}"
          document (parser/transform (parser/parse query))
          context nil]
      (is (= 5 (count (get-in (execute context schema resolver-fn document)
                              [:data "user" "friends"])))))))

  nickname
}"
          document (parser/transform (parser/parse query))
          resolver-fn (resolver/create-resolver-fn schema customized-resolver-fn)
          context nil]
      (is (= 5 (count (get-in (execute context schema resolver-fn document)
                              [:data "user" "friends"])))))))
