assertSame("Scope A's variable x should have been available",
x,
scopeA.resolveVariable(nameX).getValue());
assertSame("Scope A's variable x should be hidden",
x2,
scopeB.resolveVariable(nameX).getValue());
assertSame("Scope A's variable x2 should have been available",
x2,
scopeB.resolveVariable(nameX2).getValue());
assertNull("The duff variable should not have been available",
scopeB.resolveVariable(duff));