@Test
public void warnCommandWithAnythingElse() throws Exception {
Rule rule = createMock(Rule.class);
expect(rule.getName()).andReturn("RULE");
LexerCommandArg ref = createMock(LexerCommandArg.class);
EStructuralFeature feature = createMock(EStructuralFeature.class);
EClass eClass = createMock(EClass.class);
expect(eClass.getEStructuralFeature("ref")).andReturn(feature);