public void validateStorageFiles(Collection<String> storageFilePaths,String s3KeyPrefix,BusinessObjectDataEntity businessObjectDataEntity,String storageName) throws IllegalArgumentException {
  for (  String storageFilePath : storageFilePaths) {
    Assert.isTrue(storageFilePath.startsWith(s3KeyPrefix),String.format("Storage file \"%s\" registered with business object data {%s} in \"%s\" storage does not match the expected S3 key prefix \"%s\".",storageFilePath,businessObjectDataHelper.businessObjectDataEntityAltKeyToString(businessObjectDataEntity),storageName,s3KeyPrefix));
  }
}

public void validateStorageFiles ( Collection < String > storageFilePaths , String s3KeyPrefix , BusinessObjectDataEntity businessObjectDataEntity , String storageName ) throws IllegalArgumentException { for ( String storageFilePath : storageFilePaths ) { Assert . isTrue ( storageFilePath . startsWith ( s3KeyPrefix ) , String . format ( "Storage file \"%s\" registered with business object data {%s} in \"%s\" storage does not match the expected S3 key prefix \"%s\"." , storageFilePath , businessObjectDataHelper . businessObjectDataEntityAltKeyToString ( businessObjectDataEntity ) , storageName , s3KeyPrefix ) ) ; } }
validates a list of storage files registered with specified business object data at specified storage . this method makes sure that all storage files match the expected s3 key prefix value .
