### Question:
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();  }### Answer:
@Test public void shouldGetExtensionPathsForAllExtensions() throws Exception { Map<String, File> result = fireflySystem.getExtensionPaths(); assertEquals(2, result.size()); }
@Test public void shouldGetExtensionPaths() throws Exception { given(extensionAlice.getRootPath()).willReturn(new File("alice")); Map<String, File> result = fireflySystem.getExtensionPaths(); assertTrue(result.values().contains(new File("alice"))); }