test: Added integration-test `InMemoryWithMongoDbStorageIT`
[demos/kafka/chat] / src / test / resources / data / mongodb / chatRoomTo.json
diff --git a/src/test/resources/data/mongodb/chatRoomTo.json b/src/test/resources/data/mongodb/chatRoomTo.json
new file mode 100644 (file)
index 0000000..c100ceb
--- /dev/null
@@ -0,0 +1,31 @@
+{
+  "_id": "4ace69b7-a79f-481b-ad0d-d756d60b66ec",
+  "name": "FOO",
+  "messages": [
+    {
+      "_id": "peter--1",
+      "serial": 0,
+      "time": "2023-01-11T20:53:05.143528961",
+      "text": "Hallo, ich heiße Peter!"
+    },
+    {
+      "_id": "ute--1",
+      "serial": 1,
+      "time": "2023-01-11T20:53:05.144161529",
+      "text": "Ich bin Ute..."
+    },
+    {
+      "_id": "peter--2",
+      "serial": 2,
+      "time": "2023-01-11T20:53:05.144202513",
+      "text": "Willst du mit mir gehen?"
+    },
+    {
+      "_id": "klaus--1",
+      "serial": 3,
+      "time": "2023-01-11T20:53:05.144236865",
+      "text": "Ja? Nein? Vielleicht??"
+    }
+  ],
+  "_class": "de.juplo.kafka.chat.backend.persistence.storage.mongodb.ChatRoomTo"
+}