StatementParameter extends StatementParameterImpl { public StatementParameter makeCopy() { return new StatementParameter(getQueryString(), getQueryClass(), getQueryType(), getConvertNull(), getName()); } StatementParameter();  StatementParameter(String query, Class<?> clazz, QueryType type);  StatementParameter(String query, String classname, QueryType type);  StatementParameter(String query, String classname, QueryType type, Boolean nullConvert);  StatementParameter(String query, String classname, QueryType type, Boolean nullConvert, String paramName);  StatementParameter(String query, Class<?> clazz, QueryType type, Boolean nullConvert); @Override void apply(int parameterIndex, PreparedStatement statement, AdaptrisMessage msg); void setQueryClass(String clazz); String getQueryClass(); StatementParameter makeCopy();  }
@Test public void testMakeCopy() throws Exception { StatementParameter sp = new StatementParameter("hello", String.class.getName(), QueryType.constant, null, null); StatementParameter copy = sp.makeCopy(); assertRoundtripEquality(sp, copy); }