@Test
public void testContainsVar() throws Exception {

    context.setLocalVar("x", dummyVar);
    context.setLocalVar("null", null);
    assertTrue(context.containsVar("x"));
    assertFalse(context.containsVar("notExisting"));
    assertSame(context.getVar("null"), EmptyVariable.INSTANCE);
}