### Question:
DMNPathsHelperImpl implements DMNPathsHelper { @Override public List<Path> getModelsPaths(final WorkspaceProject workspaceProject) { if (workspaceProject != null) { return getPathsByWorkspaceProject(modelsQueryTerms(workspaceProject.getRootPath().toURI())); } else { return getStandalonePaths(allModelsFilter()); } } 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);  }### Answer:
@Test public void testGetModelsPathsWhenWorkspaceProjectIsNull() { doTestGetPathsWhenWorkspaceProjectIsNull(workspaceProject1 -> pathsHelper.getModelsPaths(null)); }
@Test public void testGetModelsPathsWhenWorkspaceProjectIsNotNull() { doTestGetPathsWhenWorkspaceProjectIsNotNull(workspaceProject -> pathsHelper.getModelsPaths(workspaceProject)); }