recordType.addFieldTypeEntry(fieldTypeEntry);
recordType = typeManager.createRecordType(recordType);
byte[] bytes = new byte[size];
random.nextBytes(bytes);
Blob blob = writeBlob(bytes, "aMediaType", "testUpdateMutableMultivalueBlob");
byte[] bytes2 = new byte[size];
random.nextBytes(bytes2);
Blob blob2 = writeBlob(bytes2, "aMediaType", "testUpdateMutableMultivalueBlob2");
byte[] bytes3 = new byte[size];
random.nextBytes(bytes3);
Blob blob3 = writeBlob(bytes3, "aMediaType", "testUpdateMutableMultivalueBlob3");
byte[] bytes4 = new byte[size];
random.nextBytes(bytes4);
Blob blob4 = writeBlob(bytes4, "aMediaType", "testUpdateMutableMultivalueBlob4");
Record record = repository.newRecord();
record.setRecordType(recordType.getName(), null);
record.setField(fieldName, Arrays.asList(blob, blob2));
record = repository.create(record);