Exemple #1
0
        public void testAssignmentConstructor()
        {
            String                  statement = "c = Company from x with 1 as id and \"IBM\" as name";
            ETestParser             parser    = new ETestParser(statement, false);
            AssignInstanceStatement a         = parser.parse_assign_instance_statement();

            Assert.IsNotNull(a);
            Assert.IsTrue(a.getExpression() is ConstructorExpression);
        }