assertThat(alterOptionsNode.getName(), is("G1"));
assertMixinType(alterOptionsNode, TeiidDdlLexicon.AlterOptions.VIEW_STATEMENT);
assertProperty(alterOptionsNode, TeiidDdlLexicon.SchemaElement.TYPE, SchemaElementType.VIRTUAL.toDdl());
assertProperty(alterOptionsNode, TeiidDdlLexicon.AlterOptions.REFERENCE, this.viewRefNode);
assertThat(alterOptionsNode.childrenWithName("e1").size(), is(1));
}
@Test
public void shouldParseAlterVirtualViewWithOptionsList() {
final String content = "ALTER VIRTUAL VIEW G1 OPTIONS (ADD cardinality 100)";