}
public void testCreateView5() throws JSQLParserException {
String statement = "CREATE VIEW myview AS (SELECT * FROM mytab)";
String statement2 = "CREATE VIEW myview AS SELECT * FROM mytab";
CreateView createView = (CreateView) parserManager.parse(new StringReader(statement));
assertFalse(createView.isOrReplace());
assertEquals("myview", createView.getView().getName());
assertEquals("mytab", ((Table) ((PlainSelect) createView.getSelectBody()).getFromItem()).getName());
assertEquals(statement2, createView.toString());
}