PoolingMessageSplitterService extends AdvancedMessageSplitterService { protected void waitQuietly(Object monitor) { try { Args.notNull(monitor, "monitor"); synchronized (monitor) { monitor.wait(); } } catch (InterruptedException | IllegalArgumentException e) { } }  @Override void start(); PoolingMessageSplitterService withWarmStart(Boolean b); PoolingMessageSplitterService withMaxThreads(Integer i); PoolingMessageSplitterService withWaitWhileBusy(Boolean b);  }
@Test public void testWait() throws Exception { PoolingMessageSplitterService s = new PoolingMessageSplitterService(); s.waitQuietly(null); }