def METHOD_NAME():
    """Ensure tu.get_file() works appropriately."""
    tu = get_tu('int foo();')
    f = tu.get_file('t.c')
    assert isinstance(f, File)
    assert f.name == 't.c'
    try:
        f = tu.get_file('foobar.cpp')
    except:
        pass
    else:
        assert False