docstr: Tests that time depemdent mr uses generic sampling.
docstr_tok: ["Tests","that","time","depemdent","mr","uses","generic","sampling","."]
code: def test_time_dependent_mr(self):
      """Tests that time depemdent mr uses generic sampling."""
      dtype = tf.float64
      mean_reversion = tff.math.piecewise.PiecewiseConstantFunc(
          [1.0], values=[0.03, 0.04], dtype=dtype
      )
  
      process = tff.models.hull_white.VectorHullWhiteModel(
          dim=1,
          mean_reversion=mean_reversion,
          volatility=[0.015],
          corr_matrix=None,
          initial_discount_rate_fn=self.instant_forward_rate_1d_fn,
          dtype=dtype,
      )
      self.assertTrue(process._sample_with_generic)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 12 for calling the HullWhiteTest obj's underlying member method code with example usage: obj.test_time_dependent_mr() without return types