// ---- Case 2 ----
Terminal a = new Terminal("a");
Terminal b = new Terminal("b");
Terminal c = new Terminal("c");
Nonterminal A = new Nonterminal("A");
Nonterminal B = new Nonterminal("B");
Nonterminal C = new Nonterminal("C");
Nonterminal D = new Nonterminal("D");
grammar = new Grammar();
Production production = new Production(A);
production.getDefinition().addSymbol(B);