memoryFieldManager.addColumnDefinition(null, "col1", null, false, "text", false, null);
memoryFieldManager.addColumnDefinition(null, "col2", null, false, "text", false, null);
Record record1 = new Record();
record1.setRecordId("1213");
record1.addToColumns(new Column("col1", "value1"));
List<Field> fields1 = getFields(null, "1", "1213",
newFieldsNoStore(BlurConstants.FIELDS, BlurConstants.DEFAULT_FAMILY + ".col1"),
newTextField(memoryFieldManager.resolveField("col1"), "value1"));
int c1 = 0;
for (Field field : memoryFieldManager.getFields("1", record1)) {
assertFieldEquals(fields1.get(c1++), field);
}
Record record2 = new Record();
record2.setRecordId("1213");
record2.addToColumns(new Column("col2", "value1"));
List<Field> fields2 = getFields(null, "1", "1213",
newFieldsNoStore(BlurConstants.FIELDS, BlurConstants.DEFAULT_FAMILY + ".col2"),
newTextField(memoryFieldManager.resolveField("col2"), "value1"));
int c2 = 0;