@Test
public void testGetMentionSummary() {

    MessageSummary msgSummary = new MessageSummary("user1", "room1", mentionDate,
                                                   MessageType.MESSAGE, 0, false);
    MessageSummary result = underTest.getMessageSummary(msgSummary);
    assertNotNull(result);
    assertEquals(msgSummary.getMentionTime(), result.getMentionTime());
    assertEquals(1, result.getOccurrences());
    assertEquals(msgSummary.getRoomName(), result.getRoomName());
    assertEquals(msgSummary.getUsername(), result.getUsername());
    assertEquals(msgSummary.getValue(), result.getValue());
}