code: def test_parse_args_run(self, parse_args, estimator):
      kwargs = {"foo": "bar", "baz": "math.cos"}
      with patch("skorch.cli.sys.exit") as exit_:
          with patch("skorch.cli.print_help") as help_:
              parsed = parse_args(kwargs)
              parsed(estimator)
  
      assert estimator.set_params.call_count == 2  # defaults and kwargs
  
      defaults_set_params = estimator.set_params.call_args_list[0][1]
      assert not defaults_set_params  # no defaults specified
  
      kwargs_set_params = estimator.set_params.call_args_list[1][1]
      assert kwargs_set_params["foo"] == "bar"
      # pylint: disable=comparison-with-callable
      assert kwargs_set_params["baz"] == cos
  
      assert help_.call_count == 0
      assert exit_.call_count == 0
  
imports: from math import cos
  from unittest.mock import Mock
  from unittest.mock import patch
  import numpy
  import pytest
  from sklearn.pipeline import FeatureUnion
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import MinMaxScaler
  from torch import nn
  from torch.nn import RReLU
label_desc: Use image node_id 26 for calling the TestCli obj's underlying member method code with example usage: obj.test_parse_args_run(parse_args, estimator) without return types