assertFalse(readRecordType.getFieldTypeEntry(fieldType1.getId()).isMandatory());
assertTrue(readRecordType.getFieldTypeEntry(fieldType2.getId()).isMandatory());
builder.reset();
builder.id(recordType.getId());
recordType = builder.update();
readRecordType = typeManager.getRecordTypeByName(rtName, null);
assertEquals(recordType, readRecordType);
assertEquals(Long.valueOf(2), readRecordType.getVersion());
assertNull(readRecordType.getFieldTypeEntry(fieldType1.getId()));
}