@Test
public void testExtractEntities_nullMessage() {

    DateTime date = DateTime.now().withZone(DateTimeZone.UTC);
    Message msg = new Message(date, "jane", "1", null, "100", MessageType.MESSAGE);
    User mockUser = mock(User.class);
    when(mockUser.getMentionName()).thenReturn("jane");
    Room mockRoom = mock(Room.class);
    when(mockRoom.getName()).thenReturn("theroom");
    FatMessage fatMessage = new FatMessage(msg, mockUser, mockRoom);
    List<ChatEntity> result = underTest.extractEntities(fatMessage);
    assertTrue(result.isEmpty());
}