class_docstr: Tests for ValueArtifact.
code: def testValueArtifactWithBadUri(self):
      instance = _MyValueArtifact()
      instance.uri = _BAD_URI
  
      with self.assertRaisesRegex(
          RuntimeError,
          "Given path does not exist or is not a valid file",
      ):
          instance.read()
  
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 3 for calling the ValueArtifactTest obj's underlying member method code with example usage: obj.testValueArtifactWithBadUri() without return types