### Question:
IntObjectAMT { public boolean isEmpty() { return childrenSize == 0; } IntObjectAMT(); void clear(); boolean isEmpty(); @SuppressWarnings("unchecked") boolean contains(int key); @SuppressWarnings("unchecked") V get(int key); @SuppressWarnings("unchecked") void put(int key, V value); @SuppressWarnings("unchecked") V remove(int key); @SuppressWarnings("unchecked") SinglyLinkedList<V> values();  }### Answer:
@Test public void testIsEmpty() { IntObjectAMT<String> map = new IntObjectAMT<>(); assertTrue(map.isEmpty()); int[] keys = (new Random(2719)).ints(Integer.MIN_VALUE, Integer.MAX_VALUE).distinct().limit(100000).toArray(); for(int key : keys) { map.put(key, ""+key); } for(int i = 0; i < keys.length-1; i++) { map.remove(keys[i]); } assertFalse(map.isEmpty()); map.remove(keys[keys.length-1]); assertTrue(map.isEmpty()); }