CompareStringPipe extends AbstractPipe { @IbisDoc({"reference to the other session variables to be compared. Do not use, but use Parameter operand2 instead", ""}) @Deprecated @ConfigurationWarning("Please use the parameter operand2") public void setSessionKey2(String string) { sessionKey2 = string; }  @Override void configure(); @Override PipeRunResult doPipe(Message message, IPipeLineSession session); @IbisDoc({"reference to one of the session variables to be compared. Do not use, but use Parameter operand1 instead", ""}) @Deprecated @ConfigurationWarning("Please use the parameter operand1") void setSessionKey1(String string); String getSessionKey1(); @IbisDoc({"reference to the other session variables to be compared. Do not use, but use Parameter operand2 instead", ""}) @Deprecated @ConfigurationWarning("Please use the parameter operand2") void setSessionKey2(String string); String getSessionKey2(); boolean isXml(); @IbisDoc({"when set <code>true</code> the string values to compare are considered to be xml strings and before the actual compare both xml strings are transformed to a canonical form", "false"}) void setXml(boolean b);  }
@Test public void setSessionKey2() { String dummyKey = "Kappa123"; pipe.setSessionKey2(dummyKey); String retrievedKey = pipe.getSessionKey2(); assertEquals(dummyKey, retrievedKey); }