public void testAssignment() {
    String expression = "do {var test:String := 'Hello'; test := 2;}";

    try {
      IOCLEngine.parse(null, expression);

      fail("Semantic exception not raised.");
    } catch (Exception e) {
      assertTrue(e instanceof SemanticException);
    }
  }
  public void testVarInitialization() {
    String expression = "do {var test:String := 1.0;}";

    try {
      IOCLEngine.parse(null, expression);

      fail("Semantic exception not raised.");
    } catch (Exception e) {
      assertTrue(e instanceof SemanticException);
    }
  }