code: def testOpProperty_TypeCheckOnSet(self):
      foo = Foo.create(foo=42)
      with self.assertRaises(TypeError):
          foo.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 15 for calling the ResolverOpTest obj's underlying member method code with example usage: obj.testOpProperty_TypeCheckOnSet() without return types