use of org.kie.workbench.common.screens.server.management.client.events.AddNewContainer in project kie-wb-common by kiegroup.
the class ServerManagementPerspectiveTest method testOnNewContainer.
@Test
public void testOnNewContainer() {
final ServerTemplate template = mock(ServerTemplate.class);
perspective.onNewContainer(new AddNewContainer(template));
verify(newContainerWizard).clear();
verify(newContainerWizard).setServerTemplate(eq(template));
verify(newContainerWizard).start();
}
Aggregations