use of org.kie.workbench.common.screens.library.api.cluster.ClusterLibraryEvent in project kie-wb-common by kiegroup.
the class OrganizationalUnitsScreenTest method ouEventsShouldReloadOUs.
@Test
public void ouEventsShouldReloadOUs() {
presenter.onNewOrganizationalUnitEvent(new NewOrganizationalUnitEvent());
presenter.onClusterLibraryEvent(new ClusterLibraryEvent());
presenter.onRemoveOrganizationalUnitEvent(new RemoveOrganizationalUnitEvent());
verify(presenter, times(3)).setupOrganizationalUnits();
verify(libraryService, times(3)).getOrganizationalUnits();
}
Aggregations