use of org.guvnor.structure.organizationalunit.RemoveOrganizationalUnitEvent 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