private ComputeState validateComputeName(String awsId,String vmName) throws Throwable {
  if (this.isAwsClientMock) {
    return null;
  }
  ComputeState computeState=getComputeByAWSId(this.host,awsId);
  String tagNameValue=computeState.name;
  assertNotNull("'displayName' property should be present",tagNameValue);
  assertEquals(vmName,tagNameValue);
  return computeState;
}

private ComputeState validateComputeName ( String awsId , String vmName ) throws Throwable { if ( this . isAwsClientMock ) { return null ; } ComputeState computeState = getComputeByAWSId ( this . host , awsId ) ; String tagNameValue = computeState . name ; assertNotNull ( "'displayName' property should be present" , tagNameValue ) ; assertEquals ( vmName , tagNameValue ) ; return computeState ; }
validates the tag information on a compute state matches an expected virtual machine name .
