code: def test_infer(
      self, mock_mutant_charts_for_feature, mock_sort_eligible_features
  ):
      self.plugin.examples = [
          self.get_fake_example(0),
          self.get_fake_example(1),
          self.get_fake_example(2),
      ]
  
      mock_mutant_charts_for_feature.return_value = []
      sorted_features_list = [
          {"name": "feat1", "interestingness": 0.2},
          {"name": "feat2", "interestingness": 0.1},
      ]
      mock_sort_eligible_features.return_value = sorted_features_list
  
      url_options = urllib_parse.urlencode(
          {
              "inference_address": "addr",
              "model_name": "name",
              "model_type": "regression",
              "model_version": "",
              "model_signature": "",
          }
      )
      response = self.server.get(
          "/data/plugin/whatif/sort_eligible_features?" + url_options
      )
  
      self.assertEqual(200, response.status_code)
      self.assertEqual(0, len(self.plugin.updated_example_indices))
      output_list = json.loads(response.get_data().decode("utf-8"))
      self.assertEquals("feat1", output_list[0]["name"])
      self.assertEquals("feat2", output_list[1]["name"])
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import os
  import sys
  import numpy
  import tensorflow
  from six.moves import urllib_parse
  from google.protobuf import json_format
  from tensorflow_serving.apis import regression_pb2
  from werkzeug import test
  from werkzeug import wrappers
  from tensorboard.backend import application
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.plugins import base_plugin
  from utils import inference_utils
  from utils import platform_utils
  from utils import test_utils
  import wit_plugin
label_desc: Use image node_id 11 for calling the InferencePluginTest obj's underlying member method code with example usage: obj.test_infer(mock_mutant_charts_for_feature, mock_sort_eligible_features) without return types