NoOpSplitter implements MessageSplitter { @Override public List<AdaptrisMessage> splitMessage(AdaptrisMessage msg) throws CoreException { return Collections.singletonList(msg); } NoOpSplitter(); @Override List<AdaptrisMessage> splitMessage(AdaptrisMessage msg);  }
@Test public void testSplitMessage() throws Exception { NoOpSplitter splitter = new NoOpSplitter(); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage(); List<AdaptrisMessage> split = splitter.splitMessage(msg); assertEquals(1, split.size()); assertEquals(msg, split.get(0)); }