code: def test_client_factory_method(client_type, obj):
      with patch("elephas.parameter.client.socket"):
          assert (
              type(BaseParameterClient.get_client(client_type, 4000))
              == obj
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_client_factory_method(client_type, obj) without return types