@Test public void testTransformBeforeSendMessage() throws EtiqetException { Cdr testMessage = new Cdr("None"); testMessage.set("test", "value"); assertEquals(testMessage, sinkClientDelegate.processMessage(testMessage)); assertNull(sinkClientDelegate.processMessage(null)); }
@Override public Cdr processMessage(Cdr msg) { return msg; }
SinkClientDelegate implements ClientDelegate { @Override public Cdr processMessage(Cdr msg) { return msg; } }
SinkClientDelegate implements ClientDelegate { @Override public Cdr processMessage(Cdr msg) { return msg; }  }
SinkClientDelegate implements ClientDelegate { @Override public Cdr processMessage(Cdr msg) { return msg; }  @Override void setNextDelegate(ClientDelegate next); @Override ClientDelegate findDelegate(Class<? extends ClientDelegate> delegateClass); @Override Cdr processMessage(Cdr msg); }
SinkClientDelegate implements ClientDelegate { @Override public Cdr processMessage(Cdr msg) { return msg; }  @Override void setNextDelegate(ClientDelegate next); @Override ClientDelegate findDelegate(Class<? extends ClientDelegate> delegateClass); @Override Cdr processMessage(Cdr msg);  }