use of org.kie.workbench.common.stunner.bpmn.project.backend.service.ProcessesDataService in project kie-wb-common by kiegroup.
the class ProcessesDataServiceTest method setup.
@Before
public void setup() {
List<RefactoringPageRow> results = new ArrayList<RefactoringPageRow>();
RefactoringMapPageRow refactoringMapPageRow = new RefactoringMapPageRow();
Map<String, Path> map = new HashMap<String, Path>();
map.put(ID1, path1);
map.put(ID2, path2);
refactoringMapPageRow.setValue(map);
results.add(refactoringMapPageRow);
when(queryService.query(anyString(), anyObject())).thenReturn(results);
tested = new ProcessesDataService(queryService, processesUpdatedEvent);
}
Aggregations