def METHOD_NAME(self) -> None:
    runner = EnsembleRunner(data_src_cfg_name=self.data_src_cfg_name, mgpu=False)
    runner.set_num_fold(3)
    self.assertTrue(runner.num_fold == 3)
    runner.set_ensemble_method(ensemble_method_name="AlgoEnsembleBestByFold")
    self.assertIsInstance(runner.ensemble_method, AlgoEnsembleBestByFold)
    self.assertTrue(runner.ensemble_method.n_fold == 3)  # type: ignore
    runner.set_ensemble_method(ensemble_method_name="AlgoEnsembleBestN", n_best=3)
    self.assertIsInstance(runner.ensemble_method, AlgoEnsembleBestN)
    self.assertTrue(runner.ensemble_method.n_best == 3)
    save_output = os.path.join(self.test_dir.name, "workdir")
    save_image = runner._pop_kwargs_to_get_image_save_transform(
        output_dir=save_output, output_postfix="test_ensemble", output_dtype=float, resample=True
    )
    self.assertIsInstance(ConfigParser(save_image).get_parsed_content(), SaveImage)