@Test public void testGetStandaloneRootPath() { final Path path = mock(Path.class); final org.uberfire.java.nio.file.Path expectedPath = mock(org.uberfire.java.nio.file.Path.class); doReturn(path).when(pathsHelper).newPath(STANDALONE_FILE_NAME, STANDALONE_URI); doReturn(expectedPath).when(pathsHelper).convertPath(path); final org.uberfire.java.nio.file.Path actualPath = pathsHelper.getStandaloneRootPath(); assertEquals(expectedPath, actualPath); }
org.uberfire.java.nio.file.Path getStandaloneRootPath() { return convertPath(newPath(STANDALONE_FILE_NAME, STANDALONE_URI)); }
DMNPathsHelperImpl implements DMNPathsHelper { org.uberfire.java.nio.file.Path getStandaloneRootPath() { return convertPath(newPath(STANDALONE_FILE_NAME, STANDALONE_URI)); } }
DMNPathsHelperImpl implements DMNPathsHelper { org.uberfire.java.nio.file.Path getStandaloneRootPath() { return convertPath(newPath(STANDALONE_FILE_NAME, STANDALONE_URI)); } DMNPathsHelperImpl(); @Inject  DMNPathsHelperImpl(final RefactoringQueryService refactoringQueryService,
                              final DMNImportTypesHelper importTypesHelper,
                              final @Named("ioStrategy") IOService ioService); }
DMNPathsHelperImpl implements DMNPathsHelper { org.uberfire.java.nio.file.Path getStandaloneRootPath() { return convertPath(newPath(STANDALONE_FILE_NAME, STANDALONE_URI)); } DMNPathsHelperImpl(); @Inject  DMNPathsHelperImpl(final RefactoringQueryService refactoringQueryService,
                              final DMNImportTypesHelper importTypesHelper,
                              final @Named("ioStrategy") IOService ioService); @Override List<Path> getModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getPMMLModelsPaths(final WorkspaceProject workspaceProject); @Override String getRelativeURI(final Path dmnModelPath,
                                 final Path includedModelPath); }
DMNPathsHelperImpl implements DMNPathsHelper { org.uberfire.java.nio.file.Path getStandaloneRootPath() { return convertPath(newPath(STANDALONE_FILE_NAME, STANDALONE_URI)); } DMNPathsHelperImpl(); @Inject  DMNPathsHelperImpl(final RefactoringQueryService refactoringQueryService,
                              final DMNImportTypesHelper importTypesHelper,
                              final @Named("ioStrategy") IOService ioService); @Override List<Path> getModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getPMMLModelsPaths(final WorkspaceProject workspaceProject); @Override String getRelativeURI(final Path dmnModelPath,
                                 final Path includedModelPath);  }