def METHOD_NAME(self):
    # failure
    with self.assertRaises(AssertionError):
        self.test_instance.with_img_type_and_preset(1234, 1234)
    with self.assertRaises(AssertionError):
        self.test_instance.with_img_type_and_preset(1234, PresetEnum.TRUE_COLOR)
    with self.assertRaises(AssertionError):
        self.test_instance.with_img_type_and_preset(ImageTypeEnum.PNG, 1234)
    # success
    result = self.test_instance.with_img_type_and_preset(ImageTypeEnum.PNG, PresetEnum.TRUE_COLOR)
    self.assertEqual(2, len(result))
    result = self.test_instance.with_img_type_and_preset(ImageTypeEnum.GEOTIFF, PresetEnum.EVI)
    self.assertEqual(1, len(result))
    result = self.test_instance.with_img_type_and_preset(ImageTypeEnum.GEOTIFF, PresetEnum.FALSE_COLOR)
    self.assertEqual(1, len(result))