// check results in CAS
// type system
CAS cas = ae.newCAS();
TypeSystem ts = cas.getTypeSystem();
Type t1 = ts.getType("Type1");
Assert.assertEquals("Type1", t1.getName());
Feature f1 = t1.getFeatureByBaseName("Feature1");
Feature f1a = ts.getFeatureByFullName("Type1:Feature1");
Assert.assertEquals(f1, f1a);
Assert.assertEquals("Feature1", f1.getShortName());
Assert.assertEquals(t1, f1.getDomain());
Type t2 = ts.getType("Type2");
Assert.assertEquals("Type2", t2.getName());
Feature f2 = t2.getFeatureByBaseName("Feature2");
Feature f2a = ts.getFeatureByFullName("Type2:Feature2");
Assert.assertEquals(f2, f2a);
Assert.assertEquals("Feature2", f2.getShortName());
Assert.assertEquals(t2, f2.getDomain());
Type et = ts.getType("EnumType");
Assert.assertEquals("EnumType", et.getName());
Assert.assertEquals(et, f2.getRange());
// indexes
FSIndexRepository irep = cas.getIndexRepository();
FSIndex ind = irep.getIndex("Index1");