def METHOD_NAME(self):
    export_name = 'archive_image'
    filenames = ['Group1-Im1.hvz', 'Group2-Im2.hvz']
    archive = FileArchive(export_name=export_name, pack=False)
    archive.add(self.image1)
    archive.add(self.image2)
    self.assertEqual(len(archive), 2)
    self.assertEqual(archive.listing(), filenames)
    archive.export()
    if not os.path.isdir(export_name):
        raise AssertionError(f"No directory {export_name!r} created on export.")
    self.assertEqual(sorted(filenames), sorted(os.listdir(export_name)))
    self.assertEqual(archive.listing(), [])