CredentialCheckingPipe extends FixedForwardPipe { @Override public void configure() throws ConfigurationException { super.configure(); if (getTargetUserid()==null) { throw new ConfigurationException("targetUserid must be specified"); } if (getTargetPassword()==null) { throw new ConfigurationException("targetPassword must be specified"); } }  @Override void configure(); @Override PipeRunResult doPipe(Message message, IPipeLineSession session); void setAuthAlias(String string); String getAuthAlias(); void setTargetPassword(String string); String getTargetPassword(); void setTargetUserid(String string); String getTargetUserid(); void setDefaultPassword(String string); String getDefaultPassword(); void setDefaultUserid(String string); String getDefaultUserid();  }
@Test(expected = ConfigurationException.class) public void testNonExisitingTarget() throws ConfigurationException { pipe.configure(); }