@Test public void testExistingApplication() throws IOException { File tmpDir = folder.newFolder(); PermanentApplicationPackage permanentApplicationPackage = new PermanentApplicationPackage( new ConfigserverConfig(new ConfigserverConfig.Builder().applicationDirectory(tmpDir.getAbsolutePath()))); assertTrue(permanentApplicationPackage.applicationPackage().isPresent()); }
public Optional<ApplicationPackage> applicationPackage() { return applicationPackage; }
PermanentApplicationPackage { public Optional<ApplicationPackage> applicationPackage() { return applicationPackage; } }
PermanentApplicationPackage { public Optional<ApplicationPackage> applicationPackage() { return applicationPackage; } PermanentApplicationPackage(ConfigserverConfig config); }
PermanentApplicationPackage { public Optional<ApplicationPackage> applicationPackage() { return applicationPackage; } PermanentApplicationPackage(ConfigserverConfig config); Optional<ApplicationPackage> applicationPackage(); }
PermanentApplicationPackage { public Optional<ApplicationPackage> applicationPackage() { return applicationPackage; } PermanentApplicationPackage(ConfigserverConfig config); Optional<ApplicationPackage> applicationPackage();  }