code: def testNotFound(self):
      temp_dir = tempfile.mkdtemp()
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.open(os.path.join(temp_dir, "foo")).read()
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.copy(
              os.path.join(temp_dir, "foo"),
              os.path.join(temp_dir, "bar"),
          )
  
      # No exception raised.
      self.assertEqual(
          LocalFilesystem.glob(os.path.join(temp_dir, "foo/*")), []
      )
  
      # No exception raised.
      self.assertEqual(
          LocalFilesystem.isdir(os.path.join(temp_dir, "foo/bar")),
          False,
      )
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.listdir(os.path.join(temp_dir, "foo"))
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.mkdir(os.path.join(temp_dir, "foo/bar"))
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.remove(os.path.join(temp_dir, "foo"))
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.rmtree(os.path.join(temp_dir, "foo"))
  
      with self.assertRaises(NotFoundError):
          LocalFilesystem.stat(os.path.join(temp_dir, "foo"))
  
      # No exception raised.
      self.assertEqual(
          list(LocalFilesystem.walk(os.path.join(temp_dir, "foo"))), []
      )
  
file_path: tfx/tfx/dsl/io/plugins/local_test.py
imports: import os
  import tempfile
  import tensorflow
  from tfx.dsl.io.filesystem import NotFoundError
  from tfx.dsl.io.plugins.local import LocalFilesystem
label_desc: Use image node_id 1 for calling the LocalTest obj's underlying member method code with example usage: obj.testNotFound() without return types