use of org.kie.workbench.common.screens.server.management.client.util.ContentChangeHandler in project kie-wb-common by kiegroup.
the class NewContainerFormPresenterTest method testInit.
@Test
public void testInit() {
presenter.init();
final ContentChangeHandler contentChangeHandler = mock(ContentChangeHandler.class);
presenter.addContentChangeHandler(contentChangeHandler);
view.setVersion("1.0");
view.setArtifactId("artifact");
view.setGroupId("group");
verify(view).init(presenter);
verify(wizardPageStatusChangeEvent, times(3)).fire(any(WizardPageStatusChangeEvent.class));
verify(contentChangeHandler, times(3)).onContentChange();
}
Aggregations