Assert.assertEquals(result[0], OType.STRING);
}
public void testEmptyIndexByKeyReload() {
final ODatabaseDocumentTx database = new ODatabaseDocumentTx("memory:propertytest");
database.create();
propertyIndexByKey = new OPropertyMapIndexDefinition("tesClass", "fOne", OType.STRING, OPropertyMapIndexDefinition.INDEX_BY.KEY);
final ODocument docToStore = propertyIndexByKey.toStream();
database.save(docToStore);