GrammarDefinition { protected final <S, T> void action(String name, Function<S, T> function) { redef(name, parser -> parser.map(function)); }  Parser build(); Parser build(String name);  }
@Test(expected = IllegalStateException.class) public void testUnknownAction() { buggedDefinition.action("unknown", (object) -> null); }