code: def test_plot_duplicates_outfile(
      mocker_validate_args, mocker_plot_images
  ):
      plot_duplicates(
          image_dir=PATH_DIR_POSIX,
          duplicate_map={"1": ["2"]},
          filename="1",
          outfile="bla.png",
      )
      mocker_validate_args.assert_called_once_with(
          image_dir=PATH_DIR_POSIX,
          duplicate_map={"1": ["2"]},
          filename="1",
      )
      mocker_plot_images.assert_called_once_with(
          image_dir=PATH_DIR_POSIX,
          orig="1",
          image_list=["2"],
          scores=False,
          outfile="bla.png",
      )
  
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 11 for calling a global function with example usage: test_plot_duplicates_outfile(mocker_validate_args, mocker_plot_images) without return types