code: def testOpCall_PropertyTypeCheck(self):
      with self.assertRaisesRegex(
          TypeError, "foo should be <class 'int'> but got '42'."
      ):
          Foo(DUMMY_INPUT_NODE, foo="42")
  
imports: import copy
  from typing import Optional, Mapping, Set
  import tensorflow
  from tfx.dsl.input_resolution import resolver_op
  import tfx.types
  from tfx.types import standard_artifacts
label_desc: Use image node_id 5 for calling the ResolverOpTest obj's underlying member method code with example usage: obj.testOpCall_PropertyTypeCheck() without return types