@Test public void shouldGetExtensionPathsForAllExtensions() throws Exception { Map<String, File> result = fireflySystem.getExtensionPaths(); assertEquals(2, result.size()); }
public Map<String, File> getExtensionPaths() { Map<String, File> result = new HashMap<>(extensions.size()); for (FireflyExtension extension : extensions) { result.put(extension.getName(), extension.getRootPath()); } return Collections.unmodifiableMap(result); }
FireflySystem { public Map<String, File> getExtensionPaths() { Map<String, File> result = new HashMap<>(extensions.size()); for (FireflyExtension extension : extensions) { result.put(extension.getName(), extension.getRootPath()); } return Collections.unmodifiableMap(result); } }
FireflySystem { public Map<String, File> getExtensionPaths() { Map<String, File> result = new HashMap<>(extensions.size()); for (FireflyExtension extension : extensions) { result.put(extension.getName(), extension.getRootPath()); } return Collections.unmodifiableMap(result); } FireflySystem(HybrisAdapter hybrisAdapter, List<FireflyExtension> extensions); }
FireflySystem { public Map<String, File> getExtensionPaths() { Map<String, File> result = new HashMap<>(extensions.size()); for (FireflyExtension extension : extensions) { result.put(extension.getName(), extension.getRootPath()); } return Collections.unmodifiableMap(result); } FireflySystem(HybrisAdapter hybrisAdapter, List<FireflyExtension> extensions); void update(FireflyMigrationModel migration); void setBaseline(FireflyMigrationModel migration); boolean isHmcResetRequired(); boolean isUpdateRequired(); Map<String, File> getExtensionPaths(); }
FireflySystem { public Map<String, File> getExtensionPaths() { Map<String, File> result = new HashMap<>(extensions.size()); for (FireflyExtension extension : extensions) { result.put(extension.getName(), extension.getRootPath()); } return Collections.unmodifiableMap(result); } FireflySystem(HybrisAdapter hybrisAdapter, List<FireflyExtension> extensions); void update(FireflyMigrationModel migration); void setBaseline(FireflyMigrationModel migration); boolean isHmcResetRequired(); boolean isUpdateRequired(); Map<String, File> getExtensionPaths();  }