}
@Test
public void shouldCreateDdlParserInstancesForAllValidBuiltInGrammarsAndInstantiableParser() {
DdlSequencer sequencer = new DdlSequencer();
String[] grammars = new String[] {new OracleDdlParser().getId(), new StandardDdlParser().getId(),
ArgleDdlParser.class.getName()};
sequencer.setGrammars(grammars);
assertThat(sequencer.getGrammars(), is(grammars));
List<DdlParser> parsers = sequencer.getParserList();
assertThat(parsers.get(0), is((DdlParser)new OracleDdlParser()));
assertThat(parsers.get(1), is((DdlParser)new StandardDdlParser()));
assertThat(parsers.get(2), is((DdlParser)new ArgleDdlParser()));
assertThat(parsers.size(), is(3));
}