@Test
 public void testRejectLocal() {
   VirtualDataCenterRestRep vdc = new VirtualDataCenterRestRep();
   vdc.setLocal(true);
   vdc.setConnectionStatus("CONNECTED");
   Assert.assertFalse("disconnect should fail on a local vdc", vdc.canDisconnect());
   vdc.setConnectionStatus("DISCONNECTED");
   Assert.assertFalse("reconnect should fail on a local vdc", vdc.canReconnect());
 }
 @Test
 public void testCanReconnect() {
   VirtualDataCenterRestRep vdc = new VirtualDataCenterRestRep();
   vdc.setLocal(false);
   vdc.setConnectionStatus("DISCONNECTED");
   Assert.assertTrue("reconnect should work on a DISCONNECTED non-local vdc", vdc.canReconnect());
 }