code: def test_single(self):
      class C(object):
          @staticmethod
          def foo():
              return 42
  
      self.assertEqual(C.foo(), 42)
      self.assertEqual(C().foo(), 42)
  
imports: import unittest
  from types import MethodType
label_desc: Use image node_id 1 for calling the TestDecorators obj's underlying member method code with example usage: obj.test_single() and returns: int