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