code: def test_regist(self, encoder):
      tmp_backbone = FlexUNetEncoderRegister()
      tmp_backbone.register_class(encoder)
      for backbone in tmp_backbone.register_dict:
          backbone_type = tmp_backbone.register_dict[backbone]["type"]
          feature_number = backbone_type.num_outputs()
          feature_channel = backbone_type.num_channels_per_output()
          param_dict_list = backbone_type.get_encoder_parameters()
          encoder_name_list = backbone_type.get_encoder_names()
          encoder_cnt = encoder_name_list.index(backbone)
          self.assertEqual(
              feature_number[encoder_cnt],
              tmp_backbone.register_dict[backbone]["feature_number"],
          )
          self.assertEqual(
              feature_channel[encoder_cnt],
              tmp_backbone.register_dict[backbone]["feature_channel"],
          )
          self.assertEqual(
              param_dict_list[encoder_cnt],
              tmp_backbone.register_dict[backbone]["parameter"],
          )
  
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.blocks.encoder import BaseEncoder
  from monai.networks.nets import FLEXUNET_BACKBONE, EfficientNetBNFeatures, FlexibleUNet, FlexUNetEncoderRegister, ResNet, ResNetBlock, ResNetBottleneck
  from monai.utils import optional_import
  from tests.utils import skip_if_downloading_fails, skip_if_quick
label_desc: Use image node_id 1 for calling the TestFlexUNetEncoderRegister obj's underlying member method code with example usage: obj.test_regist(encoder) without return types