           user-selection (first query-selection-set)
           user-selection-set (get-in (second user-selection) [:field :selection-set])
           new-document (parser/transform (parser/parse "query {user {name son}}"))
+          resolver-fn (resolver/create-resolver-fn schema customized-resolver-fn)
           new-result (execute context schema resolver-fn new-document)
           ]
       (is (= "user" (get-selection-name user-selection)))

                          (map (fn [no] {:name "Friend 1 name"
                                        :nickname "Friend 1 nickname"})
                               (range 5)))
     :else (fn [context parent & args]
             (println (format "Not found resolver function for type(%s) and field(%s)." type-name field-name))
             (get parent (keyword field-name))))))

(defn- create-test-schema
  [type-spec]

  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"])))))))
