def METHOD_NAME(cls):
    super().METHOD_NAME()
    cls.Category = cls.env["res.partner.category"]
    cls.c1 = cls.Category.create({"name": "c1"})
    cls.c2 = cls.Category.create({"name": "c2"})
    cls.c3 = cls.Category.create({"name": "c3"})
    cls.Partner = cls.env["res.partner"]
    cls.parent1 = cls.Partner.create({"name": "parent1"})
    cls.parent2 = cls.Partner.create({"name": "parent2"})
    cls.child1 = cls.Partner.create({"name": "child1"})
    cls.child2 = cls.Partner.create({"name": "child2"})
    cls.child3 = cls.Partner.create({"name": "child3"})
    cls.x = cls.Partner.create(
        {
            "name": "x",
            "employee": True,
            "category_id": [Command.set([cls.c1.id, cls.c2.id])],
            "child_ids": [Command.set([cls.child1.id, cls.child2.id])],
            "parent_id": cls.parent1.id,
        }
    )
    cls.y = cls.Partner.create(
        {
            "name": "y",
            "employee": False,
            "category_id": [Command.set([cls.c2.id, cls.c3.id])],
            "child_ids": [Command.set([cls.child2.id, cls.child3.id])],
            "parent_id": cls.parent2.id,
        }
    )
    cls.z = cls.Partner.create(
        {
            "name": "z",
            "employee": False,
            "category_id": [Command.set([cls.c1.id, cls.c3.id])],
            "child_ids": [Command.set([cls.child1.id, cls.child3.id])],
            "parent_id": cls.parent2.id,
        }
    )
    cls.xyz = cls.x + cls.y + cls.z