def METHOD_NAME(self):
    for lt_class_name, linear_op_class in lazy_tensor_map.items():
        with warnings.catch_warnings(record=True) as ws:
            lt_class = getattr(gpytorch.lazy, lt_class_name)
            self.assertEqual(lt_class, linear_op_class)
            self.assertTrue(len(ws) == 1)
            self.assertTrue(issubclass(ws[0].category, DeprecationWarning))