@Test
public void testEmtpy() throws IOException, ClassNotFoundException {

	long createdTime = System.nanoTime();
	mapTable = new MMFMapTable(testDir, 1, createdTime, 1000, 4);
	assertTrue(mapTable.getLevel() == 1);
	assertTrue(mapTable.getCreatedTime() == createdTime);
	assertTrue(mapTable.getAppendedSize() == 0);
	assertTrue(mapTable.isEmpty());
	//assertTrue(mapTable.getBackFileSize() == (MMFMapTable.INIT_INDEX_FILE_SIZE + MMFMapTable.INIT_DATA_FILE_SIZE) * Level0Merger.DEFAULT_MERGE_WAYS);
	assertFalse(mapTable.isUsable());
	try {
		@SuppressWarnings("unused")
		GetResult result = mapTable.get("empty".getBytes());
		fail();
	} catch (IllegalArgumentException iae) {
	}
	try {
		mapTable.getMapEntry(-1);
		fail();
	} catch (IllegalArgumentException iae) {
	}
	try {
		mapTable.getMapEntry(0);
		fail();
	} catch (IllegalArgumentException iae) {
	}
}