// src.addConfig(env);
env.put("orga", "Personnes");
env.put("nom", "toto");
/* configure mapper */
SearchMapperImpl smi = new SearchMapperImpl();
this.root = new VariableString(rootstr);
/* expectations */
this.cn = new CompoundName(root.instance(env), Constants.SYNTAX);
npmock.expects(once()).method("parse").with(eq("ou=Personnes,o=canam"))
.will(returnValue(cn));
smi.setRoot(root);
VariableString filter = new VariableString(
"fullName=${self.name} ${self.surname}");
smi.getInputChain().addMapper(new StringVariable("filter", filter));
smi.setTypeHelper(new TypeHelper());
this.output = new HashMap();
output.put("telephoneNumber", "telephone");