@Test
public void testSizeComparator() {

	try {
		KeyMap<String, String> map1 = new KeyMap<>(5);
		KeyMap<String, String> map2 = new KeyMap<>(80);
		
		assertTrue(map1.getCurrentTableCapacity() < map2.getCurrentTableCapacity());
		
		assertTrue(KeyMap.CapacityDescendingComparator.INSTANCE.compare(map1, map1) == 0);
		assertTrue(KeyMap.CapacityDescendingComparator.INSTANCE.compare(map2, map2) == 0);
		assertTrue(KeyMap.CapacityDescendingComparator.INSTANCE.compare(map1, map2) > 0);
		assertTrue(KeyMap.CapacityDescendingComparator.INSTANCE.compare(map2, map1) < 0);
	}
	catch (Exception e) {
		e.printStackTrace();
		fail(e.getMessage());
	}
}