               umm-gran1-1 :echo10 "application/echo10+xml" "G1200000003-PROV1" 1
 
               " echo10 granule revision 2"
-              umm-gran1-2 :echo10 "application/echo10+xml" "G1200000003-PROV1" 2))
+              umm-gran1-2 :echo10 "application/echo10+xml" "G1200000003-PROV1" 2
+
+               "iso-smap granule revision 1"
+              umm-gran1-1 :iso-smap "application/iso:smap+xml" "G1200000003-PROV1" 1
+
+              "iso-smap granule revision 2"
+              umm-gran1-2 :iso-smap "application/iso:smap+xml" "G1200000003-PROV1" 2))
 
       (testing "Requests for tombstone revision returns a 400 error"
         (let [{:keys [status errors] :as response} (search/get-search-failure-xml-data

            [cmr.mock-echo.client.echo-util :as e]
            [cmr.system-int-test.system :as s]
            [cmr.umm.iso-mends.collection :as umm-c]
            [clojure.string :as str]
            [clj-time.format :as f]))

(use-fixtures
  :each


(defmethod result-matches? :default
  [format-key umm response]
  (let [expected (umm/umm->xml umm format-key);(:metadata (d/item->metadata-result false format-key umm))
        metadata-xml (:body response)]
    (is (= expected metadata-xml))))


(deftest retrieve-metadata-from-search-by-concept-id-concept-revision
  ;; Grant permissions before creating data.
  ;; All collections in PROV1 granted to registered users.
  (e/grant-registered-users (s/context) (e/coll-catalog-item-id "provguid1"))
  (e/grant-registered-users (s/context) (e/gran-catalog-item-id "provguid1"))

