@Test
public void configuresInputParam() throws Exception
{
Object queryTemplateBean = muleContext.getRegistry().get("inputParam");
assertTrue(queryTemplateBean instanceof QueryTemplate);
QueryTemplate queryTemplate = (QueryTemplate) queryTemplateBean;
assertEquals(QueryType.STORE_PROCEDURE_CALL, queryTemplate.getType());
assertEquals(1, queryTemplate.getInputParams().size());
InputQueryParam inputSqlParam = queryTemplate.getInputParams().get(0);
assertEquals(UnknownDbType.getInstance(), inputSqlParam.getType());
assertEquals("foo", inputSqlParam.getValue());
}