use of org.kie.workbench.common.stunner.bpmn.forms.model.ConditionEditorFieldDefinition in project kie-wb-common by kiegroup.
the class ConditionEditorFieldEditorRendererTest method testInit.
@Test
public void testInit() {
FormRenderingContext context = mock(FormRenderingContext.class);
ConditionEditorFieldDefinition fieldDefinition = mock(ConditionEditorFieldDefinition.class);
ClientSession session = mock(ClientSession.class);
when(sessionManager.getCurrentSession()).thenReturn(session);
renderer.init(context, fieldDefinition);
verify(widget).init(session);
}
Aggregations