JdbcConstantParameter extends AbstractParameter { @Override public Object applyInputParam(AdaptrisMessage msg) throws JdbcParameterException { this.checkConstant(); return this.getConstant(); }  @Override Object applyInputParam(AdaptrisMessage msg); @Override void applyOutputParam(Object dbValue, AdaptrisMessage msg); String getConstant(); void setConstant(String constant);  }
@Test public void testNoConstantSetInputParam() throws Exception { JdbcConstantParameter parameter = new JdbcConstantParameter(); try { parameter.applyInputParam(message); } catch (JdbcParameterException ex) { } }