def METHOD_NAME(tmp_path):
    path = str(tmp_path / "tmpfile")
    create(path)
    config = [{"directories": {str(tmp_path): {"mask": ["move"]}}}]
    assertValid(config)
    assert watchdog.beacon(config) == []
    os.rename(path, path + "_moved")
    ret = check_events(config)
    assert len(ret) == 1
    assert ret[0]["path"] == path
    assert ret[0]["change"] == "moved"