def METHOD_NAME(self):
    input_list = list(range(dist.get_world_size())) if self.rank == 0 else None
    output_list = [None]
    dist.scatter_object_list(
        scatter_object_output_list=output_list,
        scatter_object_input_list=input_list)
    self.assertEqual(self.rank, output_list[0])