@Test void getLocalPathWhenFileExists() throws IOException { createExpectedFile(); String fileName = configFileService.getLocalPath(TEST_FILE_PATH); assertThat(fileName).isEqualTo(TEST_FILE_PATH); }
public String getLocalPath(String path) { if (CloudConfigResourceService.isCloudConfigResource(path) && cloudConfigResourceService != null) { path = cloudConfigResourceService.getLocalPath(path); } verifyLocalPath(path); return path; }
ConfigFileService { public String getLocalPath(String path) { if (CloudConfigResourceService.isCloudConfigResource(path) && cloudConfigResourceService != null) { path = cloudConfigResourceService.getLocalPath(path); } verifyLocalPath(path); return path; } }
ConfigFileService { public String getLocalPath(String path) { if (CloudConfigResourceService.isCloudConfigResource(path) && cloudConfigResourceService != null) { path = cloudConfigResourceService.getLocalPath(path); } verifyLocalPath(path); return path; } ConfigFileService(CloudConfigResourceService cloudConfigResourceService); }
ConfigFileService { public String getLocalPath(String path) { if (CloudConfigResourceService.isCloudConfigResource(path) && cloudConfigResourceService != null) { path = cloudConfigResourceService.getLocalPath(path); } verifyLocalPath(path); return path; } ConfigFileService(CloudConfigResourceService cloudConfigResourceService); String getLocalPath(String path); String getLocalPathForContents(String contents, String path); String getContents(String path); }
ConfigFileService { public String getLocalPath(String path) { if (CloudConfigResourceService.isCloudConfigResource(path) && cloudConfigResourceService != null) { path = cloudConfigResourceService.getLocalPath(path); } verifyLocalPath(path); return path; } ConfigFileService(CloudConfigResourceService cloudConfigResourceService); String getLocalPath(String path); String getLocalPathForContents(String contents, String path); String getContents(String path);  }