FilenameSwitch extends AbstractPipe { @IbisDoc({"convert the result to lowercase, before searching for a corresponding forward", "true"}) public void setToLowercase(boolean b) { toLowercase = b; }  @Override void configure(); @Override PipeRunResult doPipe(Message message, IPipeLineSession session); @IbisDoc({"forward returned when the forward or pipename derived from the filename that was the input could not be found.", ""}) void setNotFoundForwardName(String notFound); String getNotFoundForwardName(); @IbisDoc({"convert the result to lowercase, before searching for a corresponding forward", "true"}) void setToLowercase(boolean b); boolean isToLowercase();  }
@Test public void testSetToLowercase() throws Exception { pipe.setToLowercase(true); assertEquals(pipe.isToLowercase(), true); pipe.configure(); }