 ;; FIXME:  recursive embedding doesn't work yet
 (deftest ^:props emap-embedded-map-2
   (testing "using a map as a property value - dbl embed"
-    (let [e (ds/emap!! [:Foo/bar] {:a 1, :b {:c 3, :d {:e 4}}})]
+    (let [e (ds/entity-map! [:Foo/bar] {:a 1, :b {:c 3, :d {:e 4}}})]
       (log/trace "test: emap-embedded 2")
       (log/trace "e: " e)
       (log/trace "(e :b): " (e :b))


(deftest ^:api clojure-map-2
  (testing "clojure map api: entity with 2 properties"
    (let [e (ds/emap!! [:Foo/bar] {:a 1 :b 2})]
      (log/trace "test: clojure map api")
      (log/trace "entity: " (.entity e))
      (log/trace "e: " e)


(deftest ^:props emap-embedded-map-1
  (testing "using a map as a property value"
    (let [e (ds/entity-map! [:Foo/bar] {:a 1, :b {:c 3, :d 4}})]
      (log/trace "test: emap-embedded 1")
      (log/trace "e: " e)
      (log/trace "(e :b): " (e :b) (type (e :b)))
