code: def testCreateDQNAgent(self, mock_dqn_agent):
      def mock_fn(unused_sess, num_actions, summary_writer):
          del summary_writer
          return num_actions * 10
  
      mock_dqn_agent.side_effect = mock_fn
      environment = mock.Mock()
      environment.action_space.n = 7
      self.assertEqual(
          70,
          run_experiment.create_agent(
              self.test_session(), environment, agent_name="dqn"
          ),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import shutil
  from absl import flags
  from dopamine.agents.dqn import dqn_agent
  from dopamine.agents.implicit_quantile import implicit_quantile_agent
  from dopamine.agents.rainbow import rainbow_agent
  from dopamine.discrete_domains import checkpointer
  from dopamine.discrete_domains import logger
  from dopamine.discrete_domains import run_experiment
  from dopamine.metrics import collector_dispatcher
  from dopamine.metrics import statistics_instance
  import gin.tf
  import mock
  import tensorflow
label_desc: Use image node_id 3 for calling the RunExperimentTest obj's underlying member method code with example usage: obj.testCreateDQNAgent(mock_dqn_agent) and returns: unknown