 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
 
 "
-          app                 (trapperkeeper/bootstrap* (parse-bootstrap-config! (StringReader. bootstrap-config)))]
+          app                 (parse-and-bootstrap (StringReader. bootstrap-config))]
 
       (testing "Can load a service based on a valid bootstrap config string"
         (let [test-fn             (trapperkeeper/get-service-fn app :foo-test-service :test-fn)

        (is (thrown-with-msg?
              IllegalArgumentException
              #"Unable to load service: puppetlabs.trapperkeeper.examples.bootstrapping.test-services/non-existent-service"
              (trapperkeeper/bootstrap* (parse-bootstrap-config! bootstrap-config))))))

    (testing "Invalid service graph"


            [puppetlabs.testutils.logging :refer [with-test-logging with-test-logging-debug]]
            [puppetlabs.utils.classpath :refer [with-additional-classpath-entries]]))

(defn parse-and-bootstrap
  ([bootstrap-config]
   (parse-and-bootstrap bootstrap-config {}))
  ([bootstrap-config cli-data]
   (-> bootstrap-config
       parse-bootstrap-config!
       (trapperkeeper/bootstrap* cli-data))))

(deftest test-bootstrapping
  (testing "Valid bootstrap configurations"
    (let [bootstrap-config    "
