@Test public void clearOutputShouldRunProperly() throws IOException { OutputCleaner cleaner = mock(OutputCleaner.class); clearOutput("path/to/output", cleaner); verify(cleaner, atLeastOnce()).clearOutput("path/to/output"); }
public static void clearOutput(SparkSession spark, String outputDocumentToProject) throws IOException { clearOutput(outputDocumentToProject, new OutputCleaner(spark)); }
TaraReferenceExtractionIOUtils { public static void clearOutput(SparkSession spark, String outputDocumentToProject) throws IOException { clearOutput(outputDocumentToProject, new OutputCleaner(spark)); } }
TaraReferenceExtractionIOUtils { public static void clearOutput(SparkSession spark, String outputDocumentToProject) throws IOException { clearOutput(outputDocumentToProject, new OutputCleaner(spark)); } private  TaraReferenceExtractionIOUtils(); }
TaraReferenceExtractionIOUtils { public static void clearOutput(SparkSession spark, String outputDocumentToProject) throws IOException { clearOutput(outputDocumentToProject, new OutputCleaner(spark)); } private  TaraReferenceExtractionIOUtils(); static void clearOutput(SparkSession spark,
                                   String outputDocumentToProject); static void clearOutput(String outputDocumentToProject,
                                   OutputCleaner cleaner); static void storeInOutput(SparkSession spark,
                                     Dataset<Row> resultsToOutputDF,
                                     String outputDocumentToProject); static void storeInOutput(Dataset<Row> resultsToOutputDF,
                                     String outputDocumentToProject,
                                     AvroDataStoreWriter writer); }
TaraReferenceExtractionIOUtils { public static void clearOutput(SparkSession spark, String outputDocumentToProject) throws IOException { clearOutput(outputDocumentToProject, new OutputCleaner(spark)); } private  TaraReferenceExtractionIOUtils(); static void clearOutput(SparkSession spark,
                                   String outputDocumentToProject); static void clearOutput(String outputDocumentToProject,
                                   OutputCleaner cleaner); static void storeInOutput(SparkSession spark,
                                     Dataset<Row> resultsToOutputDF,
                                     String outputDocumentToProject); static void storeInOutput(Dataset<Row> resultsToOutputDF,
                                     String outputDocumentToProject,
                                     AvroDataStoreWriter writer);  }