code: def test__validate_args_image_dir():
      with pytest.raises(AssertionError) as e:
          _validate_args(
              image_dir=PATH_DIR_INVALID,
              duplicate_map=None,
              filename=None,
          )
      assert (
          str(e.value)
          == "Provided image directory does not exist! Please provide the image directory where all files are present!"
      )
  
file_path: imagededup/tests/test_plotter.py
imports: import os
  import pytest
  import matplotlib.pyplot
  from pathlib import Path
  import numpy
  from imagededup.utils.plotter import _formatter, _validate_args, plot_duplicates
label_desc: Use image node_id 5 for calling a global function with example usage: test__validate_args_image_dir() without return types