def METHOD_NAME(self, depth, nav_depth, children_map, expected_nav_map):
    block_structure = self.create_block_structure(children_map, BlockStructureModulestoreData)
    BlockDepthTransformer(depth).transform(usage_info=None, block_structure=block_structure)
    BlockNavigationTransformer(nav_depth).transform(usage_info=None, block_structure=block_structure)
    block_structure._prune_unreachable()
    for block_key, expected_nav in enumerate(expected_nav_map):
        self.assertSetEqual(
            {str(block) for block in expected_nav},
            set(
                block_structure.get_transformer_block_field(
                    block_key,
                    BlockNavigationTransformer,
                    BlockNavigationTransformer.BLOCK_NAVIGATION,
                    []
                )
            ),
        )