def METHOD_NAME():
    """
    Test shows that different processors can be assigned to Base and
    Specialized classes (in case of ABSTRACT_RULE)
    """
    mm = textx.metamodel_from_str('''
        Model: base+=Base;
        Special1: '1' name=ID;
        Special2: '2' name=ID;
        Base: Special1|Special2;
    ''')
    test_list = []
    mm.register_obj_processors({
        'Base': lambda o: 'Base_' + o.name,
        'Special1': lambda o: test_list.append('Special_' + o.name),
    })
    m = mm.model_from_str('''
    1 S1
    2 S2
    ''')
    assert ['Special_S1'] == test_list
    assert ['Base_S1', 'Base_S2'] == m.base