use of org.guvnor.common.services.project.context.WorkspaceProjectContextChangeEvent in project kie-wb-common by kiegroup.
the class LibraryPlacesTest method placesAreUpdatedWhenActiveModuleIsRenamedTest.
@Test
public void placesAreUpdatedWhenActiveModuleIsRenamedTest() {
libraryPlaces.onChange(new WorkspaceProjectContextChangeEvent(mock(WorkspaceProject.class), activeModule), new WorkspaceProjectContextChangeEvent(mock(WorkspaceProject.class), mock(Module.class)));
verify(breadcrumbs).clearBreadcrumbs(LibraryPlaces.LIBRARY_PERSPECTIVE);
verify(libraryBreadcrumbs).setupForProject(any());
}
Aggregations