def METHOD_NAME(incorrect_images_folder):
    assert_that(
        calling(simple.classification_dataset_from_directory).with_args(
            root=str(incorrect_images_folder),
            object_type="DataLoader",
            image_extension="PNG"),
        raises(ValueError)
    )