MessageConsoleServiceRow extends AbstractPageRow { long getSequence() { return sequence; } MessageConsoleServiceRow(String sessionId,
                                    String userId,
                                    SystemMessage message); String getSessionId(); void setSessionId(String sessionId); String getUserId(); void setUserId(String userId); SystemMessage getMessage(); void setMessage(SystemMessage message); String getMessageType(); String getMessageUserId(); long getMessageId(); Level getMessageLevel(); Path getMessagePath(); int getMessageLine(); int getMessageColumn(); String getMessageText();  }
@Test public void testSequence() { IntStream.range(0, ROWS).forEach(i -> assertEquals(i, rows.get(i).getSequence())); }
@Test public void testComparator() { rows.sort(MessageConsoleServiceRow.DESC_ORDER); IntStream.range(0, ROWS).forEach(i -> assertEquals(ROWS - i - 1, rows.get(i).getSequence())); }