@@ -107,7 +107,8 @@ public static function autoDetect($value): TestkitResponseInterface
107107 $ tbr = new CypherNode (
108108 new CypherObject ('CypherInt ' , $ value ->getId ()),
109109 new CypherObject ('CypherList ' , new CypherList ($ labels )),
110- new CypherObject ('CypherMap ' , new CypherMap ($ props ))
110+ new CypherObject ('CypherMap ' , new CypherMap ($ props )),
111+ new CypherObject ('CypherString ' , $ value ->getElementId ())
111112 );
112113 break ;
113114 case Relationship::class:
@@ -123,6 +124,7 @@ public static function autoDetect($value): TestkitResponseInterface
123124 new CypherObject ('CypherInt ' , $ value ->getEndNodeId ()),
124125 new CypherObject ('CypherString ' , $ value ->getType ()),
125126 new CypherObject ('CypherMap ' , new CypherMap ($ props )),
127+ new CypherObject ('CypherString ' , $ value ->getElementId ())
126128 );
127129 break ;
128130 case Path::class:
@@ -157,7 +159,8 @@ public static function autoDetect($value): TestkitResponseInterface
157159 new CypherObject ('CypherNull ' , null ),
158160 new CypherObject ('CypherNull ' , null ),
159161 new CypherObject ('CypherString ' , $ value ->getType ()),
160- new CypherObject ('CypherMap ' , new CypherMap ($ props ))
162+ new CypherObject ('CypherMap ' , new CypherMap ($ props )),
163+ new CypherObject ('CypherString ' , $ value ->getElementId ())
161164 );
162165 break ;
163166 default :
0 commit comments