KogitoDMNServiceRuntimeImpl extends AbstractKogitoDMNService { @Override public void getDMNContent(Path path, RemoteCallback<String> remoteCallback, ErrorCallback<Object> errorCallback) { resourceContentService.loadFile(path.toURI(), remoteCallback, errorCallback); }  @Override void getDMNContent(Path path, RemoteCallback<String> remoteCallback, ErrorCallback<Object> errorCallback);  }
@Test public void getDMNContent() { kogitoDMNServiceRuntimeImplSpy.getDMNContent(pathMock, remoteCallbackMock, errorCallbackMock); verify(resourceContentServiceMock, times(1)).loadFile(eq("uri"), eq(remoteCallbackMock), eq(errorCallbackMock)); }