### Question:
CsvBulkImportUtil { public static void configurePreUpsertProcessor(Configuration conf, Class<? extends ImportPreUpsertKeyValueProcessor> processorClass) { conf.setClass(PhoenixConfigurationUtil.UPSERT_HOOK_CLASS_CONFKEY, processorClass, ImportPreUpsertKeyValueProcessor.class); }  static void initCsvImportJob(Configuration conf, char fieldDelimiter, char quoteChar,
            char escapeChar, String arrayDelimiter, String binaryEncoding); static void configurePreUpsertProcessor(Configuration conf,
            Class<? extends ImportPreUpsertKeyValueProcessor> processorClass); static Path getOutputPath(Path outputdir, String tableName);  }### Answer:
@Test public void testConfigurePreUpsertProcessor() { Configuration conf = new Configuration(); CsvBulkImportUtil.configurePreUpsertProcessor(conf, MockProcessor.class); ImportPreUpsertKeyValueProcessor processor = PhoenixConfigurationUtil.loadPreUpsertProcessor(conf); assertEquals(MockProcessor.class, processor.getClass()); }