static final String KLAUS = "klaus";
- static final KeyValue<String, TestRecording>[] INPUT_MESSAGES = new KeyValue[]
+ static final Stream<KeyValue<String, TestRecording>> getInputMessages()
+ {
+ return Stream.of(INPUT_MESSAGES);
+ }
+
+ private static final KeyValue<String, TestRecording>[] INPUT_MESSAGES = new KeyValue[]
{
new KeyValue<>(
PETER,
assertThat(receivedMessages.get(user)).containsExactlyElementsOf(word)));
}
- static final KeyValue<String, TestWord>[] EXPECTED_MESSAGES = new KeyValue[]
+ private static final KeyValue<String, TestWord>[] EXPECTED_MESSAGES = new KeyValue[]
{
KeyValue.pair(
"peter",