Search in sources :

Example 1 with HasBusyIndicator

use of org.uberfire.ext.widgets.common.client.common.HasBusyIndicator in project kie-wb-common by kiegroup.

the class LibraryPlacesTest method deleteProjectTest.

@Test
public void deleteProjectTest() {
    final HasBusyIndicator view = mock(HasBusyIndicator.class);
    libraryPlaces.deleteProject(activeProject, view);
    verify(repositoryService).removeRepository(activeSpace, activeRepository.getAlias());
    verify(view).hideBusyIndicator();
}
Also used : HasBusyIndicator(org.uberfire.ext.widgets.common.client.common.HasBusyIndicator) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 HasBusyIndicator (org.uberfire.ext.widgets.common.client.common.HasBusyIndicator)1