 
 ;; (comment
 ;;   (session->map (create-session {:uri "xdbc://localhost:8383/"
-;;                                     :user "rest-admin" :password "x"
+;;                                     :user "test-admin" :password "uruktesting"
 ;;                                     :content-base "TutorialDB"}
 ;;                                    {} (uri-content-source "xdbc://localhost:8383/"
 ;;                                                           (security-options TODO)))))

;; TODO with SSLContext
;; (comment
;;   (describe-session-options (create-session {:uri "xdbc://localhost:8383/"
;;                                     :user "rest-admin" :password "x"
;;                                     :content-base "TutorialDB"}
;;                                    (hosted-content-source "localhost" 8383
;;                                                           "rest-admin" "x" "TutorialDB"
;;                                                           (security-options TODO))
;;                                    {}))

;;   (describe-session-options (create-session {:uri "xdbc://localhost:8383/"
;;                                     :user "rest-admin" :password "x"
;;                                     :content-base "TutorialDB"}
;;                                    (managed-content-source connection-provider ;; TODO implement https://docs.marklogic.com/javadoc/xcc/com/marklogic/xcc/spi/ConnectionProvider.html interface
;;                                                            "rest-admin" "x" "TutorialDB")
;;                                    {})))

(deftest content-src-options

        (is (= "binary()"
               (result->type (with-open [session (create-session db)]
                               (execute-xquery session (str "xquery version \"1.0-ml\";
                                                             xdmp:external-binary(\""
                                                            path-to-img "\");")
                                               {:types :raw})))))
        (is (= (Class/forName "[B")
