Package com.vmware.aurora.vc

Examples of com.vmware.aurora.vc.VcClusterConfig


   @Mock
   public static VcCluster findVcCluster(final String clusterName) {
      if (flag) {
         VcCluster vcCluster = Mockito.mock(VcCluster.class);
         VcClusterConfig config = Mockito.mock(VcClusterConfig.class);
         Mockito.when(vcCluster.getConfig()).thenReturn(config);
         Mockito.when(config.getDRSEnabled()).thenReturn(true);
         return vcCluster;
      } else {
         return null;
      }
   }
View Full Code Here

TOP

Related Classes of com.vmware.aurora.vc.VcClusterConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.