@Test public void testGetMessageById() throws Exception { client.connect(); serviceExtractor.getMessageById("54f70539-4fa51210e10080000a0a325a".toUpperCase()); client.disconnect(); }
@Test public void testGetMessagesById() throws Exception { List<String> keys = getKeys(); client.connect(); List<Message> messages = serviceExtractor.getMessagesById(keys); client.disconnect(); assertNotNull(messages); log.info("messages list size:{}", messages.size()); persist(messages); }