@Test public void testGetRegisteredExtension() { when(extensionRegistry.getExtensions()).thenReturn(extensionRegistry_test.getExtensions()); List<Extension> extensions = butterflyFacadeImpl.getExtensions(); assertNotNull(extensions); assertEquals(extensions.size(), 1); assertTrue(extensions.get(0) instanceof ButterflySpringBootExtension); }
@Override public List<Extension> getExtensions() { return extensionRegistry.getExtensions(); }
ButterflyFacadeImpl implements ButterflyFacade { @Override public List<Extension> getExtensions() { return extensionRegistry.getExtensions(); } }
ButterflyFacadeImpl implements ButterflyFacade { @Override public List<Extension> getExtensions() { return extensionRegistry.getExtensions(); }  }
ButterflyFacadeImpl implements ButterflyFacade { @Override public List<Extension> getExtensions() { return extensionRegistry.getExtensions(); }  @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 List<Extension> getExtensions() { return extensionRegistry.getExtensions(); }  @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);  }