public void parsesArrayAttribute() { String statement = "attribute id : Integer[]; "; OTestParser parser = new OTestParser(statement); AttributeDeclaration ad = parser.parse_attribute_declaration(); Assert.IsNotNull(ad); Assert.AreEqual("id", ad.GetName()); Assert.AreEqual("Integer[]", ad.getIType().GetTypeName()); }