 
     (testing "no permissions granted"
       (are [user permissions]
-        (= {"C1200000001-PROV1" permissions}
+        (= {coll1 permissions}
            (get-coll1-permissions user))
         :guest []
         :registered []

                                       :provider_id "PROV1"}})
            (testing "for collection in ACL's entry titles"
              (are [user permissions]
                (= {"C1200000002-PROV1" permissions}
                   (get-permissions user "C1200000002-PROV1"))
                :guest ["read"]
                :registered []))
            (testing "for collection not in ACL's entry titles"
              (are [user permissions]
                (= {"C1200000003-PROV1" permissions}
                   (get-permissions user "C1200000003-PROV1"))
                :guest []
                :registered []))))))

    (testing "granule level permissions"
      (testing "no permissions granted"
        (is (= {"G1200000004-PROV1" []}
               (get-granule-permissions "user1")))))))

(deftest collection-catalog-item-identifier-access-value-test

                                                                                       :end_date "2006-01-01T00:00:00Z"
                                                                                       :mask "disjoint"}}
                                                    :provider_id "PROV1"}})
        (is (= {coll1 ["read"]
                coll2 []
                coll3 ["read"]
                coll4 []}
               (get-coll-permissions))))

      (testing "\"contains\" mask"
