if (deployment != null)
scopeKey.addScope(CommonLevels.DEPLOYMENT, deployment);
if (id > 0)
scopeKey.addScope(CommonLevels.INSTANCE, "id-" + id);
SearchInfo searchInfo = new ScopeKeySearchInfo(scopeKey);
GraphController gc = (GraphController)getController();
ControllerContext lookup = gc.getContext("bean", null, searchInfo);
assertSame(context, lookup);
return context;