private void verifyVPlexVolumeResults() throws Exception {
  for (  URI volumeURI : vplexTestVolumeURIs) {
    Volume volume=_dbClient.queryObject(Volume.class,volumeURI);
    Assert.assertNotNull(String.format("VPLEX test volume %s not found",volumeURI),volume);
    StringSet associatedVolumes=volume.getAssociatedVolumes();
    if ((associatedVolumes != null) && (!associatedVolumes.isEmpty())) {
      Assert.assertFalse("INTERNAL_OBJECT should NOT be set for a VPLEX volume",volume.checkInternalFlags(Flag.INTERNAL_OBJECT));
    }
 else {
      Assert.assertTrue("INTERNAL_OBJECT should be set for a VPLEX backend volume",volume.checkInternalFlags(Flag.INTERNAL_OBJECT));
    }
  }
}

private void verifyVPlexVolumeResults ( ) throws Exception { for ( URI volumeURI : vplexTestVolumeURIs ) { Volume volume = _dbClient . queryObject ( Volume . class , volumeURI ) ; Assert . assertNotNull ( String . format ( "VPLEX test volume %s not found" , volumeURI ) , volume ) ; StringSet associatedVolumes = volume . getAssociatedVolumes ( ) ; if ( ( associatedVolumes != null ) && ( ! associatedVolumes . isEmpty ( ) ) ) { Assert . assertFalse ( "INTERNAL_OBJECT should NOT be set for a VPLEX volume" , volume . checkInternalFlags ( Flag . INTERNAL_OBJECT ) ) ; } else { Assert . assertTrue ( "INTERNAL_OBJECT should be set for a VPLEX backend volume" , volume . checkInternalFlags ( Flag . INTERNAL_OBJECT ) ) ; } } }
verifies the migration results for volumes .
