def METHOD_NAME(self):
    for (alias, command) in self._aliases.items():
        self._lexer.input(alias)
        self._assert_next_token_type_equals('COMMAND_{}'.format(command.upper().replace('-', '_')))