@BeforeClass
public void beforeClass() throws Exception {
super.beforeClass();
final OSchema schema = database.getMetadata().getSchema();
oClass = schema.createClass("ClassIndexTestClass");
oSuperClass = schema.createClass("ClassIndexTestSuperClass");
oClass.createProperty("fOne", OType.INTEGER);
oClass.createProperty("fTwo", OType.STRING);
oClass.createProperty("fThree", OType.BOOLEAN);
oClass.createProperty("fFour", OType.INTEGER);
oClass.createProperty("fSix", OType.STRING);
oClass.createProperty("fSeven", OType.STRING);
oClass.createProperty("fEight", OType.INTEGER);
oClass.createProperty("fTen", OType.INTEGER);
oClass.createProperty("fEleven", OType.INTEGER);
oClass.createProperty("fTwelve", OType.INTEGER);
oClass.createProperty("fThirteen", OType.INTEGER);
oClass.createProperty("fFourteen", OType.INTEGER);
oClass.createProperty("fFifteen", OType.INTEGER);
oClass.createProperty("fEmbeddedMap", OType.EMBEDDEDMAP, OType.INTEGER);
oClass.createProperty("fEmbeddedMapWithoutLinkedType", OType.EMBEDDEDMAP);
oClass.createProperty("fLinkMap", OType.LINKMAP);
oClass.createProperty("fLinkList", OType.LINKLIST);
oClass.createProperty("fEmbeddedList", OType.EMBEDDEDLIST, OType.INTEGER);
oClass.createProperty("fEmbeddedSet", OType.EMBEDDEDSET, OType.INTEGER);
oClass.createProperty("fLinkSet", OType.LINKSET);
oClass.createProperty("fRidBag", OType.LINKBAG);
oSuperClass.createProperty("fNine", OType.INTEGER);
oClass.setSuperClass(oSuperClass);
schema.save();
database.close();
}