Search in sources :

Example 1 with AddNewServerTemplate

use of org.kie.workbench.common.screens.server.management.client.events.AddNewServerTemplate in project kie-wb-common by kiegroup.

the class ServerManagementPerspectiveTest method testOnNewTemplate.

@Test
public void testOnNewTemplate() {
    perspective.onNewTemplate(new AddNewServerTemplate());
    verify(newServerTemplateWizard).clear();
    verify(newServerTemplateWizard).start();
}
Also used : AddNewServerTemplate(org.kie.workbench.common.screens.server.management.client.events.AddNewServerTemplate) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 AddNewServerTemplate (org.kie.workbench.common.screens.server.management.client.events.AddNewServerTemplate)1