@SuppressWarnings("deprecation")
 public void testDeployArtifactsToPortal() throws Exception {
   SessionProvider sessionProvider = sessionProviderService_.getSystemSessionProvider(null);
   createPortalArtifactsService.deployArtifactsToPortal(
       sessionProvider, "test1", "templateportal");
 }
 public void testDeployArtifactsToPortalWithTemplate() throws Exception {
   SessionProvider sessionProvider = sessionProviderService_.getSystemSessionProvider(null);
   createPortalArtifactsService.deployArtifactsToPortal(
       sessionProvider, "portalplugin", "templateportal");
 }
 public void testAddPlugin() throws Exception {
   CreatePortalPlugin portalPlugin = Mockito.mock(CreatePortalPlugin.class);
   Mockito.when(portalPlugin.getName()).thenReturn("portalPlugin");
   createPortalArtifactsService.addPlugin(portalPlugin);
 }