DigesterPipe extends FixedForwardPipe { @Override public void configure() throws ConfigurationException { super.configure(); try { rulesURL = ClassUtils.getResourceURL(getConfigurationClassLoader(), digesterRulesFile); DigesterLoader.createDigester(rulesURL); } catch (Exception e) { throw new ConfigurationException(getLogPrefix(null)+"Digester rules file ["+digesterRulesFile+"] not found", e); } log.debug(getLogPrefix(null)+"End of configuration"); }  @Override void configure(); @Override PipeRunResult doPipe(Message message, IPipeLineSession session); @IbisDoc({"name of file that containts the rules for xml parsing", "(none)"}) void setDigesterRulesFile(String digesterRulesFile); String getDigesterRulesFile();  }
@Test(expected = ConfigurationException.class) public void testNonExistingDigesterRulesFile() throws ConfigurationException { pipe.configure(); }