docstr: ...Test pickling ability of HawkesKernelExp
          
docstr_tok: ["...","Test","pickling","ability","of","HawkesKernelExp"]
code: def test_HawkesKernelExp_pickle(self):
      """...Test pickling ability of HawkesKernelExp"""
      obj = HawkesKernelExp(decay=2, intensity=3)
      pickled = pickle.loads(pickle.dumps(obj))
  
      self.assertTrue(str(obj) == str(pickled))
      self.assertEqual(obj.decay, pickled.decay)
      self.assertEqual(obj.intensity, pickled.intensity)
      np.testing.assert_array_equal(
          obj.get_values(self.random_times),
          obj.get_values(self.random_times),
      )
  
file_path: tick/tick/hawkes/simulation/tests/hawkes_kernel_pickle_test.py
imports: import pickle
  import unittest
  import numpy
  from tick.base import TimeFunction
  from tick.hawkes import HawkesKernel0, HawkesKernelExp, HawkesKernelSumExp, HawkesKernelPowerLaw, HawkesKernelTimeFunc
label_desc: Use image node_id 3 for calling the Test obj's underlying member method code with example usage: obj.test_HawkesKernelExp_pickle() without return types