assertEquals(1, list.size());
FactMetaModel mm = list.get(0);
assertEquals("FooBar", mm.name);
assertEquals(2, mm.fields.size());
for (int i = 0; i < mm.fields.size(); i++) {
FieldMetaModel fm = (FieldMetaModel) mm.fields.get(1);
if (fm.name.equals("f1")) {
assertEquals("f1", fm.name);
assertEquals("int", fm.type);
} else {
assertEquals("f2", fm.name);