EList<PrequelConstruct> prequels = new BasicEList<PrequelConstruct>();
EList<V3Token> tokenList = new BasicEList<V3Token>();
Grammar grammar = createMock(Grammar.class);
LexerRule rule = createMock(LexerRule.class);
V3Tokens tokens = createMock(V3Tokens.class);
V3Token v3Token = createMock(V3Token.class);
EClass eClass = createMock(EClass.class);
EStructuralFeature feature = createMock(EStructuralFeature.class);
Antlr4Validator validator = PowerMock.createPartialMock(Antlr4Validator.class, "warning");
expect(grammar.getRules()).andReturn(rules);
expect(grammar.getPrequels()).andReturn(prequels);
expect(tokens.getTokens()).andReturn(tokenList);
expect(rule.getName()).andReturn("R");
expect(v3Token.getId()).andReturn("R");