@Test
public void shouldParseDropStatements() {

    printTest("shouldParseDropStatements()");
    String content = getFileContent(DDL_FILE_PATH + "drop_statements.ddl");
    assertScoreAndParse(content, "drop_statements.ddl", 12);
    List<AstNode> theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_TABLE_STATEMENT);
    assertThat(theNodes.size(), is(2));
    assertEquals("list_customers", theNodes.get(0).getName());
    String prop = (String)theNodes.get(1).getProperty(DROP_BEHAVIOR);
    assertEquals("RESTRICT", prop);
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_VIEW_STATEMENT);
    assertThat(theNodes.size(), is(2));
    assertEquals("list_customers", theNodes.get(0).getName());
    prop = (String)theNodes.get(1).getProperty(DROP_BEHAVIOR);
    assertEquals("RESTRICT", prop);
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_SCHEMA_STATEMENT);
    assertThat(theNodes.size(), is(2));
    assertEquals("list_customers", theNodes.get(0).getName());
    prop = (String)theNodes.get(0).getProperty(DROP_BEHAVIOR);
    assertEquals("CASCADE", prop);
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_DOMAIN_STATEMENT);
    assertThat(theNodes.size(), is(2));
    assertEquals("list_customers", theNodes.get(0).getName());
    prop = (String)theNodes.get(0).getProperty(DROP_BEHAVIOR);
    assertEquals("CASCADE", prop);
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_TRANSLATION_STATEMENT);
    assertThat(theNodes.size(), is(1));
    assertEquals("translation_name", theNodes.get(0).getName());
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_COLLATION_STATEMENT);
    assertThat(theNodes.size(), is(1));
    assertEquals("collation_name", theNodes.get(0).getName());
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_CHARACTER_SET_STATEMENT);
    assertThat(theNodes.size(), is(1));
    assertEquals("character_set_name", theNodes.get(0).getName());
    theNodes = parser.nodeFactory().getChildrenForType(rootNode, TYPE_DROP_ASSERTION_STATEMENT);
    assertThat(theNodes.size(), is(1));
    assertEquals("assertion_name", theNodes.get(0).getName());
}