@Test public void testTransformWithValidTemplate() { butterflyFacadeImpl.transform(applicationFolder, JavaEEToSpringBoot.class); verify(transformationEngine, times(1)).perform((TemplateTransformationRequest) anyObject()); }
@Override public CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass) { return transform(applicationFolder, templateClass, null, new ConfigurationImpl(null)); }
ButterflyFacadeImpl implements ButterflyFacade { @Override public CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass) { return transform(applicationFolder, templateClass, null, new ConfigurationImpl(null)); } }
ButterflyFacadeImpl implements ButterflyFacade { @Override public CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass) { return transform(applicationFolder, templateClass, null, new ConfigurationImpl(null)); }  }
ButterflyFacadeImpl implements ButterflyFacade { @Override public CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass) { return transform(applicationFolder, templateClass, null, new ConfigurationImpl(null)); }  @Override String getButterflyVersion(); @Override List<Extension> getExtensions(); @Override Optional<Class<? extends TransformationTemplate>> automaticResolution(File applicationFolder); @Override Configuration newConfiguration(Properties properties); @Override Configuration newConfiguration(Properties properties, boolean zipOutput); @Override Configuration newConfiguration(Properties properties, File outputFolder, boolean zipOutput); @Override CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass); @Override CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass, String version, Configuration configuration); }
ButterflyFacadeImpl implements ButterflyFacade { @Override public CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass) { return transform(applicationFolder, templateClass, null, new ConfigurationImpl(null)); }  @Override String getButterflyVersion(); @Override List<Extension> getExtensions(); @Override Optional<Class<? extends TransformationTemplate>> automaticResolution(File applicationFolder); @Override Configuration newConfiguration(Properties properties); @Override Configuration newConfiguration(Properties properties, boolean zipOutput); @Override Configuration newConfiguration(Properties properties, File outputFolder, boolean zipOutput); @Override CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass); @Override CompletableFuture<TransformationResult> transform(File applicationFolder, Class<? extends TransformationTemplate> templateClass, String version, Configuration configuration);  }