map.put("context", context);
}
};
Object[] args1 = new Object[] {new Object(), map, new Object()};
Object[] args2 = new Object[] {map, new Object()};
StateContext sc = lookup.lookup(args1);
assertSame(map.get("context"), sc);
assertSame(map.get("context"), lookup.lookup(args1));
assertSame(map.get("context"), lookup.lookup(args2));
}