                  :server "foo"}
         :quux   {:route "/bar"
                  :server "foo"}}}})
+
+(def no-default-config
+  {:webserver {:bar {:port 8080}
+               :foo {:port 9000}}
+   :web-router-service
+     {:puppetlabs.trapperkeeper.services.webrouting.webrouting-service-test/test-service-2
+       "/foo"}})
 
 (deftest webrouting-service-test
   (testing "Other services can successfully use webrouting service"

      app
      [jetty9-service webrouting-service not-real]
      webrouting-plaintext-config
      (let [s (tk-app/get-service app :WebroutingService)
            add-ring-handler (partial add-ring-handler s)
            body "Hello World!"
            ring-handler (fn [req] {:status 200 :body body})
            svc (tk-app/get-service app :NotReal)]
        (is (thrown? IllegalArgumentException (add-ring-handler svc ring-handler)))))))


(defprotocol TestService
  (hello [this]))

(defprotocol TestService2)

(defprotocol NotReal
  (dummy [this]))

