@Test public void testLoadPMMLDocumentMetadata() { final PMMLDocumentMetadata expected = mock(PMMLDocumentMetadata.class); when(pmmlIncludedDocumentFactory.getDocumentByPath(path)).thenReturn(expected); final PMMLDocumentMetadata actual = service.loadPMMLDocumentMetadata(path); assertEquals(expected, actual); }
@Override public PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path) { return pmmlIncludedDocumentFactory.getDocumentByPath(path); }
DMNContentServiceImpl extends KieService<String> implements DMNContentService { @Override public PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path) { return pmmlIncludedDocumentFactory.getDocumentByPath(path); } }
DMNContentServiceImpl extends KieService<String> implements DMNContentService { @Override public PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path) { return pmmlIncludedDocumentFactory.getDocumentByPath(path); } @Inject  DMNContentServiceImpl(final CommentedOptionFactory commentedOptionFactory,
                                 final DMNIOHelper dmnIOHelper,
                                 final DMNPathsHelper pathsHelper,
                                 final PMMLIncludedDocumentFactory pmmlIncludedDocumentFactory); }
DMNContentServiceImpl extends KieService<String> implements DMNContentService { @Override public PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path) { return pmmlIncludedDocumentFactory.getDocumentByPath(path); } @Inject  DMNContentServiceImpl(final CommentedOptionFactory commentedOptionFactory,
                                 final DMNIOHelper dmnIOHelper,
                                 final DMNPathsHelper pathsHelper,
                                 final PMMLIncludedDocumentFactory pmmlIncludedDocumentFactory); @Override String getContent(final Path path); @Override DMNContentResource getProjectContent(final Path path,
                                                final String defSetId); @Override void saveContent(final Path path,
                            final String content,
                            final Metadata metadata,
                            final String comment); @Override List<Path> getModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getPMMLModelsPaths(final WorkspaceProject workspaceProject); @Override PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path); @Override String getSource(final Path path); }
DMNContentServiceImpl extends KieService<String> implements DMNContentService { @Override public PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path) { return pmmlIncludedDocumentFactory.getDocumentByPath(path); } @Inject  DMNContentServiceImpl(final CommentedOptionFactory commentedOptionFactory,
                                 final DMNIOHelper dmnIOHelper,
                                 final DMNPathsHelper pathsHelper,
                                 final PMMLIncludedDocumentFactory pmmlIncludedDocumentFactory); @Override String getContent(final Path path); @Override DMNContentResource getProjectContent(final Path path,
                                                final String defSetId); @Override void saveContent(final Path path,
                            final String content,
                            final Metadata metadata,
                            final String comment); @Override List<Path> getModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getPMMLModelsPaths(final WorkspaceProject workspaceProject); @Override PMMLDocumentMetadata loadPMMLDocumentMetadata(final Path path); @Override String getSource(final Path path);  }