code: def test_offline_dispatch(self, experiment, offline_experiment):
      # To start, there should be no experiments
      experiment.assert_not_called()
      offline_experiment.assert_not_called()
  
      # Start online experiment
      logger = self.loggers["offline"]
      logger.log_trial_start(self.trial)
  
      # Check that Experiment was called and OfflineExperiment was not
      experiment.assert_not_called()
      offline_experiment.assert_called_once()
  
imports: import unittest
  from unittest.mock import patch
  from ray.air.integrations.comet import CometLoggerCallback
  from collections import namedtuple
label_desc: Use image node_id 3 for calling the OnlineVsOfflineTests obj's underlying member method code with example usage: obj.test_offline_dispatch(experiment, offline_experiment) without return types