use of org.kie.workbench.common.stunner.bpmn.project.client.handlers.util.CaseHelper in project kie-wb-common by kiegroup.
the class CaseDefinitionNewResourceHandlerTest method setUp.
@Before
public void setUp() throws Exception {
when(translationService.getDefinitionDescription(CaseDefinitionNewResourceHandler.CASE_DEFINITION)).thenReturn(DESCRIPTION);
when(projectContext.getActiveWorkspaceProject()).thenReturn(Optional.of(workspaceProject));
when(workspaceProject.getRootPath()).thenReturn(rootPath);
caseHelper = new CaseHelper(new CallerMock<>(bpmnDiagramService), projectContext);
tested = new CaseDefinitionNewResourceHandler(definitionManager, projectDiagramService, indicatorView, projectDiagramResourceType, translationService, caseHelper);
}
Aggregations