code: def _verify_directory_manager_operations(self, directory_manager):
      # Test the create APIs
      config_directory_path = (
          directory_manager.create_config_directory()
      )
      assert isinstance(config_directory_path, Path)
      assert config_directory_path.exists()
      assert DirectoryManager.CONFIGURATION in str(
          config_directory_path
      )
  
      data_directory_path = directory_manager.create_data_directory()
      assert isinstance(data_directory_path, Path)
      assert data_directory_path.exists()
      assert DirectoryManager.DATA in str(data_directory_path)
  
      generators_directory_path = (
          directory_manager.create_generators_directory()
      )
      assert isinstance(generators_directory_path, Path)
      assert generators_directory_path.exists()
      assert DirectoryManager.GENERATORS in str(
          generators_directory_path
      )
  
      # Test the get APIs
      config_directory_path = directory_manager.get_config_directory()
      assert isinstance(config_directory_path, Path)
      assert config_directory_path.exists()
      assert DirectoryManager.CONFIGURATION in str(
          config_directory_path
      )
  
      data_directory_path = directory_manager.get_data_directory()
      assert isinstance(data_directory_path, Path)
      assert data_directory_path.exists()
      assert DirectoryManager.DATA in str(data_directory_path)
  
      generators_directory_path = (
          directory_manager.create_generators_directory()
      )
      assert isinstance(generators_directory_path, Path)
      assert generators_directory_path.exists()
      assert DirectoryManager.GENERATORS in str(
          generators_directory_path
      )
  
imports: from pathlib import Path
  import pytest
  from responsibleai._tools.shared.state_directory_management import DirectoryManager
label_desc: Use image node_id 1 for calling the TestStateDirectoryManagement obj's underlying member method code with example usage: obj._verify_directory_manager_operations(directory_manager) without return types