@Test public void createContentTest() throws IOException { DomainBundleContentGenerator generatorSpy = spy(generator); doNothing().when(generatorSpy).createMavenDescriptors(); generatorSpy.createContent(); verify(generatorSpy, times(1)).createMavenDescriptors(); }
@Override public void createContent() throws IOException { createMavenDescriptors(); }
DomainBundleContentGenerator extends ContentGenerator { @Override public void createContent() throws IOException { createMavenDescriptors(); } }
DomainBundleContentGenerator extends ContentGenerator { @Override public void createContent() throws IOException { createMavenDescriptors(); } DomainBundleContentGenerator(ProjectInformation projectInformation); }
DomainBundleContentGenerator extends ContentGenerator { @Override public void createContent() throws IOException { createMavenDescriptors(); } DomainBundleContentGenerator(ProjectInformation projectInformation); @Override void createContent(); }
DomainBundleContentGenerator extends ContentGenerator { @Override public void createContent() throws IOException { createMavenDescriptors(); } DomainBundleContentGenerator(ProjectInformation projectInformation); @Override void createContent();  }