### Question:
FileProjectSaver implements ProjectSaver { @Override public void save(Project project) { save(project, project.getConfigurationResource(), true); } FileProjectSaver(@Inject List<ProjectExtension> extensions); @Override String getSupportedVersion(); @Override void save(Project project); @Override void saveAs(Project project, Resource baseDirectory);  }### Answer:
@Test public void testSaveForProjectFileWithRelatedPaths() throws Exception { File testFolder = setupTestDirectory("testSaveForProjectFileWithRelatedPaths"); String mapFilePath = testFolder.toURI() + "../test.map.xml"; String mapFileName = "test"; DataMap testDataMap = new DataMap(mapFileName); testDataMap.setConfigurationSource(new URLResource(new URL(mapFilePath))); Project project = new Project(new ConfigurationTree<DataMap>(testDataMap)); saver.save(project); File target = new File(testFolder.getParentFile(), mapFileName + ".map.xml"); assertTrue(target.isFile()); }