docstr: Test deprecated decorator with `since` and `removed` set for a milestone version
docstr_tok: ["Test","deprecated","decorator","with","`","since","`","and","`","removed","`","set","for","a","milestone","version"]
code: def test_warning_milestone(self):
      """Test deprecated decorator with `since` and `removed` set for a milestone version"""
  
      @deprecated(
          since=self.test_version,
          removed=self.next_version,
          version_val=self.test_version,
      )
      def foo2():
          pass
  
      self.assertWarns(FutureWarning, foo2)
  
imports: from __future__ import annotations
  import unittest
  import warnings
  from monai.utils import DeprecatedError, deprecated, deprecated_arg, deprecated_arg_default
label_desc: Use image node_id 3 for calling the TestDeprecatedRC obj's underlying member method code with example usage: obj.test_warning_milestone() without return types