def METHOD_NAME(self):
    """
    Test file tree.
    :return:
    """
    inspector = Inspector(
        cachedir=os.sep + "test", piddir=os.sep + "test", pidfilename="bar.pid"
    )
    tree_root = os.path.join(
        os.path.dirname(os.path.abspath(__file__)), "tree_test"
    )
    expected_tree = (
        [
            os.sep + os.sep.join(["a", "a", "dummy.a"]),
            os.sep + os.sep.join(["a", "b", "dummy.b"]),
            os.sep + os.sep.join(["b", "b.1"]),
            os.sep + os.sep.join(["b", "b.2"]),
            os.sep + os.sep.join(["b", "b.3"]),
        ],
        [
            os.sep + "a",
            os.sep + os.sep.join(["a", "a"]),
            os.sep + os.sep.join(["a", "b"]),
            os.sep + os.sep.join(["a", "c"]),
            os.sep + "b",
            os.sep + "c",
        ],
        [
            os.sep + os.sep.join(["a", "a", "dummy.ln.a"]),
            os.sep + os.sep.join(["a", "b", "dummy.ln.b"]),
            os.sep + os.sep.join(["a", "c", "b.1"]),
            os.sep + os.sep.join(["b", "b.4"]),
            os.sep + os.sep.join(["b", "b.5"]),
            os.sep + os.sep.join(["c", "b.1"]),
            os.sep + os.sep.join(["c", "b.2"]),
            os.sep + os.sep.join(["c", "b.3"]),
        ],
    )
    tree_result = []
    for chunk in inspector._get_all_files(tree_root):
        buff = []
        for pth in chunk:
            buff.append(pth.replace(tree_root, ""))
        tree_result.append(buff)
    tree_result = tuple(tree_result)
    self.assertEqual(expected_tree, tree_result)