MessageService implements DataFeedListener { @SuppressWarnings("unused") public List<SymMessage> getMessagesFromUserId(long userId, Long since, Integer offset, Integer maxMessages) throws MessagesException { SymUser user = new SymUser(); user.setId(userId); try { return getMessagesFromStream( symClient.getStreamsClient().getStream(user), since, offset, maxMessages); } catch (StreamsException e) { throw new MessagesException("Failed to retrieve messages. Unable to identity stream for userId: " + userId, e); } } MessageService(SymphonyClient symClient); SymMessage sendMessage(Room room, SymMessage symMessage); SymMessage sendMessage(Chat chat, SymMessage symMessage); SymMessage sendMessage(String email, SymMessage symMessage); SymMessage sendMessage(SymUser symUser, SymMessage symMessage); SymMessage sendMessage(SymStream symStream, SymMessage symMessage); @SuppressWarnings("unused") List<SymMessage> getMessagesFromUserId(long userId, Long since, Integer offset, Integer maxMessages); @Override void onEvent(SymEvent symEvent); @SuppressWarnings("unused") void addMessageListener(MessageListener messageListener); @SuppressWarnings("unused") boolean removeMessageListener(MessageListener messageListener); void addRoomServiceEventListener(RoomServiceEventListener roomServiceEventListener); @SuppressWarnings("unused") boolean removeRoomServiceEventListener(RoomServiceEventListener roomServiceEventListener); void addConnectionsEventListener(ConnectionsEventListener connectionsEventListener); @SuppressWarnings("unused") boolean removeConnectionsEventListener(ConnectionsEventListener connectionsEventListener); void addChatListener(ChatListener chatListener); @SuppressWarnings("unused") boolean removeChatListener(ChatListener chatListener); void shutdown();  }
@Test public void getMessagesFromUserId() throws Exception { }