@Test public void calls_properties_generator_and_saves() throws Exception { File targetFile = new File("outputfile"); generatorToTest.generateSystemPropertiesDescription(targetFile); verify(generatorToTest.propertiesGenerator).generate(any()); verify(generatorToTest.writer).save(targetFile, "properties-test"); }
public void generateSystemPropertiesDescription(File targetFile) throws IOException { String text = propertiesGenerator.generate(getCollector().fetchMustBeDocumentParts()); writer.save(targetFile, text); }
AsciidocGenerator implements Generator { public void generateSystemPropertiesDescription(File targetFile) throws IOException { String text = propertiesGenerator.generate(getCollector().fetchMustBeDocumentParts()); writer.save(targetFile, text); } }
AsciidocGenerator implements Generator { public void generateSystemPropertiesDescription(File targetFile) throws IOException { String text = propertiesGenerator.generate(getCollector().fetchMustBeDocumentParts()); writer.save(targetFile, text); }  }
AsciidocGenerator implements Generator { public void generateSystemPropertiesDescription(File targetFile) throws IOException { String text = propertiesGenerator.generate(getCollector().fetchMustBeDocumentParts()); 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 generateSystemPropertiesDescription(File targetFile) throws IOException { String text = propertiesGenerator.generate(getCollector().fetchMustBeDocumentParts()); 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);  }