assertEquals(String.format("S3 file \"%s\" is not archived (found %s storage class when expecting %s). S3 Bucket Name: \"%s\"", S3_KEY, StorageClass.Standard.toString(), StorageClass.Glacier.toString(), S3_BUCKET_NAME), businessObjectDataRestoreDto.getException().getMessage()); businessObjectDataRestoreDto.setException(NO_EXCEPTION); assertEquals(new BusinessObjectDataRestoreDto(businessObjectDataKey, STORAGE_NAME, S3_ENDPOINT, S3_BUCKET_NAME, S3_KEY_PREFIX, NO_STORAGE_UNIT_STATUS, NO_STORAGE_UNIT_STATUS, storageFiles, NO_EXCEPTION), businessObjectDataRestoreDto);
businessObjectDataRestoreDto.setException(e);
businessObjectDataRestoreDto.setException(e);
sourceException = this.getException(); RuntimeException copyException = ((RuntimeException) strategy.copy(LocatorUtils.property(locator, "exception", sourceException), sourceException, (this.exception!= null))); copy.setException(copyException); } else { if (exceptionShouldBeCopiedAndSet == Boolean.FALSE) {