def METHOD_NAME(self):
    m1, m2 = self._make_models()
    vars1 = [pyo.Reference(m1.var[:, "A"]), pyo.Reference(m1.var[:, "B"]), m1.input]
    vars2 = [m2.x1, m2.x2, m2.x3]
    linker = DynamicVarLinker(vars1, vars2)
    t_source = 0
    t_target = 2
    linker.transfer(t_source=m1.time, t_target=m2.time)
    pred_AB = lambda t: 1.0 + t * 0.1
    pred_input = lambda t: 1.0 - t * 0.1
    for t in m1.time:
        # Both models have same time set
        # Values in source variables have not changed
        self.assertEqual(m1.var[t, "A"].value, pred_AB(t))
        self.assertEqual(m1.var[t, "B"].value, pred_AB(t))
        self.assertEqual(m1.input[t].value, pred_input(t))
        # Target variables have been updated
        self.assertEqual(m2.x1[t].value, pred_AB(t))
        self.assertEqual(m2.x2[t].value, pred_AB(t))
        self.assertEqual(m2.x3[t].value, pred_input(t))
        self.assertEqual(m2.x4[t].value, 2.4)