 (deftest retrieve-service-with-invalid-format
   (testing "unsupported accept header results in error"
     (let [unsupported-mt "unsupported/mime-type"]
-      (verify-retrieved-concept-error "S1111-PROV1" nil unsupported-mt 400
+      (assert-retrieved-concept-error "S1111-PROV1" nil unsupported-mt 400
         (format "The mime types specified in the accept header [%s] are not supported."
                 unsupported-mt)))))

   (search/retrieve-concept concept-id revision-id {:accept accept-format
                                                    :throw-exceptions true})))

(defn- verify-retrieved-concept-error
  "Verify the expected error code and error message are returned when retrieving the given concept."
  [concept-id revision-id accept-format err-code err-message]
  (let [{:keys [status errors]} (handle-retrieve-concept-error

        (is (= 2 (:revision-id svc1-r2))))

      (testing "retrieval by service concept-id and revision id returns the specified revision"
        (assert-retrieved-concept concept-id 1 accept-format svc1-r1-name)
        (assert-retrieved-concept concept-id 2 accept-format svc1-r2-name))

      (testing "retrieval by only service concept-id returns the latest revision"
        (assert-retrieved-concept concept-id nil accept-format svc1-r2-name))

      (testing "retrieval by non-existent revision returns error"
        (assert-retrieved-concept-error concept-id 3 accept-format 404
          (format "Concept with concept-id [%s] and revision-id [3] does not exist." concept-id)))

      (testing "retrieval by non-existent concept-id returns error"
        (assert-retrieved-concept-error "S404404404-PROV1" nil accept-format 404
          "Concept with concept-id [S404404404-PROV1] could not be found."))

      (testing "retrieval by non-existent concept-id and revision-id returns error"
        (assert-retrieved-concept-error "S404404404-PROV1" 1 accept-format 404
          "Concept with concept-id [S404404404-PROV1] and revision-id [1] does not exist."))

      (testing "retrieval of deleted concept"
