def METHOD_NAME():
    """
    Test calling check command with a file that is not registered.
    """
    runner = CliRunner()
    result = runner.invoke(textx, ['check', 'some_unexisting_file'])
    assert 'No language registered that can parse' in result.output