/* check number of LNs in the id mapping tree. */
DatabaseImpl mapDbImpl =
envImpl.getDbMapTree().getDb(DbTree.ID_DB_ID);
// mapDbImpl.getTree().dump();
BtreeStats mapStats =
(BtreeStats) mapDbImpl.stat(new StatsConfig());
assertEquals(expectMapLNs,
(mapStats.getLeafNodeCount()));
/* check number of LNs in the naming tree. */
DatabaseImpl nameDbImpl =