class_docstr: Tests for ValueArtifact.
code: def testValueArtifactTypeConstructor(self):
      instance = _MyValueArtifact1()
      self.assertEqual(_MyValueArtifact1.__name__, "String_MODEL")
      self.assertEqual(_MyValueArtifact1.TYPE_NAME, "String_MODEL")
      self.assertEqual(
          _MyValueArtifact1.TYPE_ANNOTATION.MLMD_SYSTEM_BASE_TYPE,
          metadata_store_pb2.ArtifactType.MODEL,
      )
  
      self.assertIsInstance(instance, value_artifact.ValueArtifact)
      self.assertIsInstance(instance, standard_artifacts.String)
  
      # Test property setters.
      instance.uri = _VALID_URI
      self.assertEqual(_VALID_URI, instance.uri)
  
      # Test functions are inherited from base class standard_artifacts.String.
      instance.read()
      instance.value = _STRING_VALUE
      self.assertEqual(_STRING_VALUE, instance.value)
  
imports: import json
  from unittest import mock
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.types import standard_artifacts
  from tfx.types import system_artifacts
  from tfx.types import value_artifact
  from google.protobuf import json_format
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 5 for calling the ValueArtifactTest obj's underlying member method code with example usage: obj.testValueArtifactTypeConstructor() without return types