scopeA);
scopeA.declareVariable(nameX, x);
scopeB.declareVariable(nameX, x2);
scopeA.declareVariable(nameX2, x2);
scopeB.declareVariable(nameY, y);
assertSame("Scope A's variable x should have been available",
x,
scopeA.resolveVariable(nameX).getValue());
assertSame("Scope A's variable x should be hidden",