assertTrue(queryTemplateBean instanceof QueryTemplate);
QueryTemplate queryTemplate = (QueryTemplate) queryTemplateBean;
assertEquals(QueryType.SELECT, queryTemplate.getType());
assertEquals("SELECT * FROM PLANET WHERE POSITION = ?", queryTemplate.getSqlText());
assertEquals(1, queryTemplate.getInputParams().size());
InputQueryParam param1 = queryTemplate.getInputParams().get(0);
assertEquals(UnknownDbType.getInstance(), param1.getType());
assertEquals("position", param1.getName());
assertEquals(paramValue, param1.getValue());
assertEquals(1, param1.getIndex());
}