StringPayloadDataInputParameter implements DataInputParameter<String> { @Override public String extract(InterlokMessage message) throws InterlokException { return message.getContent(); } StringPayloadDataInputParameter(); @Override String extract(InterlokMessage message);  }
@Test public void testExtract() throws Exception { StringPayloadDataInputParameter p = new StringPayloadDataInputParameter(); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage(TEXT); assertEquals(TEXT, p.extract(msg)); }