splitter: 1.2.0 - Introduced `TestWord.of(..)`
[demos/kafka/wordcount] / src / test / java / de / juplo / kafka / wordcount / splitter / TestData.java
index 00ea4c4..89cebaa 100644 (file)
@@ -48,38 +48,38 @@ public class TestData
        static Stream<KeyValue<String, TestWord>> expectedMessages = Stream.of(
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "Hallo")),
+                                       TestWord.of("peter", "Hallo")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "Welt")),
+                                       TestWord.of("peter", "Welt")),
                        KeyValue.pair(
                                        "klaus",
-                                       new TestWord("klaus", "Müsch")),
+                                       TestWord.of("klaus", "Müsch")),
                        KeyValue.pair(
                                        "klaus",
-                                       new TestWord("klaus", "gäb")),
+                                       TestWord.of("klaus", "gäb")),
                        KeyValue.pair(
                                        "klaus",
-                                       new TestWord("klaus", "s")),
+                                       TestWord.of("klaus", "s")),
                        KeyValue.pair(
                                        "klaus",
-                                       new TestWord("klaus", "auch")),
+                                       TestWord.of("klaus", "auch")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "Boäh")),
+                                       TestWord.of("peter", "Boäh")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "echt")),
+                                       TestWord.of("peter", "echt")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "ß")),
+                                       TestWord.of("peter", "ß")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "mal")),
+                                       TestWord.of("peter", "mal")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "nä")),
+                                       TestWord.of("peter", "nä")),
                        KeyValue.pair(
                                        "peter",
-                                       new TestWord("peter", "Nümmäh")));
+                                       TestWord.of("peter", "Nümmäh")));
 }