### Question:
Dictionary { public int size() { return entries.size(); } Dictionary(); boolean isEmpty(); int size(); void clear(); void put(K key, V value); V get(Object key);  }### Answer:
@Test void testSizeOfEmptyDictionary() { assertEquals(0, createDictionaryWithNEntries(0).size()); }
@Test void testSizeOfNonEmptyDictionary() { assertEquals(5, createDictionaryWithNEntries(5).size()); }