def METHOD_NAME():
    mm = metamodel_from_str(grammar)
    with raises(TextXSemanticError):
        mm.model_from_str(r'''
            :person Tom
            :person Jerry
            Tom knows Jerry
            Tom knows Berry
            ''')