smi.getInputChain().addMapper(new StringVariable("filter", filter));
smi.setTypeHelper(new TypeHelper());
src.add("search1", smi);
src.start(genv);
/* check environnement is passed to mapper */
SearchMapperImpl sm = (SearchMapperImpl) src.create("search1", genv);
assertEquals("Environment badly configured", "tututiti", sm
.getEnvironment().get("var2"));
assertEquals("Environment badly configured", "toto", sm
.getEnvironment().get("toto"));
}