def METHOD_NAME(self) -> None:
    root = self.mkdtemp()
    self.watchmanCommand("watch", root)
    base = self.watchmanCommand("find", root, ".")
    clock = base["clock"]
    self.suspendWatchman()
    # Explicitly using the shell to run these commands
    # as the original test case wasn't able to reproduce
    # the problem with whatever sequence and timing of
    # operations was produced by the original php test
    subprocess.check_call(
        "touch a && mkdir d1 d2 && mv d1 d2 && mv d2/d1 . && mv a d1",
        shell=True,
        cwd=root,
    )
    self.resumeWatchman()
    self.assertFileList(root, files=["d1", "d1/a", "d2"], cursor=clock)