@Test public void calls_schedule_generator_and_saves() throws Exception { File targetFile = new File("outputfile"); generatorToTest.generateScheduleDescription(targetFile); verify(generatorToTest.scheduleDescriptionGenerator).generate(generatorToTest.collector); verify(generatorToTest.writer).save(targetFile, "schedule-test"); }
public void generateScheduleDescription(File targetFile) throws IOException { String text = scheduleDescriptionGenerator.generate(getCollector()); writer.save(targetFile, text); }
AsciidocGenerator implements Generator { public void generateScheduleDescription(File targetFile) throws IOException { String text = scheduleDescriptionGenerator.generate(getCollector()); writer.save(targetFile, text); } }
AsciidocGenerator implements Generator { public void generateScheduleDescription(File targetFile) throws IOException { String text = scheduleDescriptionGenerator.generate(getCollector()); writer.save(targetFile, text); }  }
AsciidocGenerator implements Generator { public void generateScheduleDescription(File targetFile) throws IOException { String text = scheduleDescriptionGenerator.generate(getCollector()); writer.save(targetFile, text); }  static void main(String[] args); void fetchMustBeDocumentParts(); void fetchDomainMessagingParts(); void generateSystemPropertiesDescription(File targetFile); void generateJavaLaunchExample(File targetFile); void generateScheduleDescription(File targetFile); }
AsciidocGenerator implements Generator { public void generateScheduleDescription(File targetFile) throws IOException { String text = scheduleDescriptionGenerator.generate(getCollector()); writer.save(targetFile, text); }  static void main(String[] args); void fetchMustBeDocumentParts(); void fetchDomainMessagingParts(); void generateSystemPropertiesDescription(File targetFile); void generateJavaLaunchExample(File targetFile); void generateScheduleDescription(File targetFile);  }