inputValue );
}
private DefaultExpander makeExpander( DSLMappingEntry... entries ){
DefaultExpander expander = new DefaultExpander();
DefaultDSLMapping mapping = new DefaultDSLMapping();
for( DSLMappingEntry entry: entries ){
mapping.addEntry( entry );
}
List<String> options = new ArrayList<String>();
options.add("result");
options.add("when");
options.add("steps");
mapping.setOptions(options);
expander.addDSLMapping(mapping);
return expander;
}