{
static final TestUser PETER = TestUser.of(STATS_TYPE, "peter");
static final TestUser KLAUS = TestUser.of(STATS_TYPE, "klaus");
+ static final TestUser OTHER_CHANNEL = TestUser.of("POPULAR", "klaus");
static final Stream<KeyValue<TestUser, TestRanking>> getTop10Messages()
{
KLAUS,
TestRanking.of(
TestEntry.of("Müsch", 1l))),
+ KeyValue.pair( // 1
+ OTHER_CHANNEL,
+ TestRanking.of(
+ TestEntry.of("Müsch", 1l))),
KeyValue.pair( // 2
PETER,
TestRanking.of(
TestRanking.of(
TestEntry.of("Müsch", 2l),
TestEntry.of("s", 2l))),
+ KeyValue.pair( // 8
+ OTHER_CHANNEL,
+ TestRanking.of(
+ TestEntry.of("Müsch", 2l),
+ TestEntry.of("s", 2l))),
KeyValue.pair( // 9
PETER,
TestRanking.of(