final LinkedHashMap lhm = (LinkedHashMap)yan.getInstance(LinkedHashMap.class);
verifyLinkedHashMap(lhm);
}
public void testCreateLinkedHashMapUsingBind(){
final Container yan = createYanContainer();
final Component newAvenue = Components.useKey("factory");
final Component factory = Components.static_method(Avenue.class, "instance")
.incomplete();
//final Component keys = Components.value(new String[]{"first", "second", "third"});
final Component vals = Components.list(new Creator[]{newAvenue.withArgument(0, Components.value("Randolph")),
newAvenue.withArgument(0, Components.value("Lincoln")),
newAvenue.withArgument(0, Components.value("Fullerton"))});
final Component cc = Monad.bind(vals, new jfun.yan.Binder(){
public Creator bind(Object obj){
final Object[] ks = new String[]{"first", "second", "third"};
final java.util.List vs = (java.util.List)obj;
final LinkedHashMap lhm = new LinkedHashMap();
for(int i=0; i<ks.length; i++){