- Message.of(
- "{\"user\":\"peter\",\"word\":\"Hallo\"}",
- "{\"user\":\"peter\",\"word\":\"Hallo\",\"count\":1}"),
- Message.of(
- "{\"user\":\"klaus\",\"word\":\"Müsch\"}",
- "{\"user\":\"klaus\",\"word\":\"Müsch\",\"count\":1}"),
- Message.of(
- "{\"user\":\"peter\",\"word\":\"Welt\"}",
- "{\"user\":\"peter\",\"word\":\"Welt\",\"count\":1}"),
- Message.of(
- "{\"user\":\"klaus\",\"word\":\"Müsch\"}",
- "{\"user\":\"klaus\",\"word\":\"Müsch\",\"count\":2}"),
- Message.of(
- "{\"user\":\"klaus\",\"word\":\"s\"}",
- "{\"user\":\"klaus\",\"word\":\"s\",\"count\":1}"),
- Message.of(
- "{\"user\":\"peter\",\"word\":\"Boäh\"}",
- "{\"user\":\"peter\",\"word\":\"Boäh\",\"count\":1}"),
- Message.of(
- "{\"user\":\"peter\",\"word\":\"Welt\"}",
- "{\"user\":\"peter\",\"word\":\"Welt\",\"count\":2}"),
- Message.of(
- "{\"user\":\"peter\",\"word\":\"Boäh\"}",
- "{\"user\":\"peter\",\"word\":\"Boäh\",\"count\":2}"),
- Message.of(
- "{\"user\":\"klaus\",\"word\":\"s\"}",
- "{\"user\":\"klaus\",\"word\":\"s\",\"count\":2}"),
- Message.of(
- "{\"user\":\"peter\",\"word\":\"Boäh\"}",
- "{\"user\":\"peter\",\"word\":\"Boäh\",\"count\":3}"),
- Message.of(
- "{\"user\":\"klaus\",\"word\":\"s\"}",
- "{\"user\":\"klaus\",\"word\":\"s\",\"count\":3}"),
+ KeyValue.pair(
+ TestOutputWord.of(PETER, "Hallo"),
+ TestOutputWordCounter.of(PETER, "Hallo",1)),
+ KeyValue.pair(
+ TestOutputWord.of(KLAUS, "Müsch"),
+ TestOutputWordCounter.of(KLAUS, "Müsch",1)),
+ KeyValue.pair(
+ TestOutputWord.of(PETER, "Welt"),
+ TestOutputWordCounter.of(PETER, "Welt",1)),
+ KeyValue.pair(
+ TestOutputWord.of(KLAUS, "Müsch"),
+ TestOutputWordCounter.of(KLAUS, "Müsch",2)),
+ KeyValue.pair(
+ TestOutputWord.of(KLAUS, "s"),
+ TestOutputWordCounter.of(KLAUS, "s",1)),
+ KeyValue.pair(
+ TestOutputWord.of(PETER, "Boäh"),
+ TestOutputWordCounter.of(PETER, "Boäh",1)),
+ KeyValue.pair(
+ TestOutputWord.of(PETER, "Welt"),
+ TestOutputWordCounter.of(PETER, "Welt",2)),
+ KeyValue.pair(
+ TestOutputWord.of(PETER, "Boäh"),
+ TestOutputWordCounter.of(PETER, "Boäh",2)),
+ KeyValue.pair(
+ TestOutputWord.of(KLAUS, "s"),
+ TestOutputWordCounter.of(KLAUS, "s",2)),
+ KeyValue.pair(
+ TestOutputWord.of(PETER, "Boäh"),
+ TestOutputWordCounter.of(PETER, "Boäh",3)),
+ KeyValue.pair(
+ TestOutputWord.of(KLAUS, "s"),
+ TestOutputWordCounter.of(KLAUS, "s",3)),