String expectedInitializationVector = "cross product";
Boolean expectedIsEncrypted = true;
Boolean expectedIsPrimary = true;
String expectedMimeType = "application/octet-stream";
EntityUpdateOperation updater = AssetFile.update(exampleFileId)
.setContentChecksum(expectedChecksum)
.setContentFileSize(expectedSize)
.setEncryptionKeyId(expectedEncryptionKey)
.setEncryptionScheme(expectedEncryptionScheme)
.setEncryptionVersion(expectedEncryptionVersion)
.setInitializationVector(expectedInitializationVector)
.setIsEncrypted(expectedIsEncrypted)
.setIsPrimary(expectedIsPrimary).setMimeType(expectedMimeType);
AssetFileType payload = (AssetFileType) updater.getRequestContents();
assertNull(payload.getName());
assertNull(payload.getId());
assertNull(payload.getParentAssetId());
assertEquals(expectedSize, payload.getContentFileSize());