Assert.assertEquals(idx.get(54).getIdentity(), v2.getIdentity());
}
public void testIndexCountPlusCondition() {
OIndexManager idxManager = database.getMetadata().getIndexManager();
idxManager.createIndex("IndexCountPlusCondition", "NOTUNIQUE", new OSimpleKeyIndexDefinition(OType.INTEGER), null, null, null);
final OIndex<OIdentifiable> idx = (OIndex<OIdentifiable>) idxManager.getIndex("IndexCountPlusCondition");
final Map<Integer, Long> keyDocsCount = new HashMap<Integer, Long>();
for (int i = 1; i < 100; i++) {