Search in sources :

Example 1 with Employee

use of org.kie.workbench.common.forms.dynamic.test.model.Employee in project kie-wb-common by kiegroup.

the class DynamicFormRendererTest method doBind.

protected void doBind(int times) {
    Command callback = mock(Command.class);
    renderer.renderDefaultForm(employee, callback);
    verify(callback, times(1)).execute();
    verify(view, times(times)).render(any());
    verify(view, times(times)).bind();
    verify(formHandler, times(times)).setUp(any(Employee.class));
}
Also used : Employee(org.kie.workbench.common.forms.dynamic.test.model.Employee) Command(org.uberfire.mvp.Command)

Aggregations

Employee (org.kie.workbench.common.forms.dynamic.test.model.Employee)1 Command (org.uberfire.mvp.Command)1