@Test public void testClear() { tested.clear(); verify(map, times(1)).clear(); }
public void clear() { items.clear(); }
MapRegistry implements DynamicRegistry<T> { public void clear() { items.clear(); } }
MapRegistry implements DynamicRegistry<T> { public void clear() { items.clear(); } MapRegistry(final KeyProvider<T> keyProvider,
                final Map<String, T> items); }
MapRegistry implements DynamicRegistry<T> { public void clear() { items.clear(); } MapRegistry(final KeyProvider<T> keyProvider,
                final Map<String, T> items); @Override void register(final T item); boolean remove(final T item); @Override boolean contains(final T item); @Override boolean isEmpty(); Collection<T> getItems(); void clear(); T getItemByKey(final String key); }
MapRegistry implements DynamicRegistry<T> { public void clear() { items.clear(); } MapRegistry(final KeyProvider<T> keyProvider,
                final Map<String, T> items); @Override void register(final T item); boolean remove(final T item); @Override boolean contains(final T item); @Override boolean isEmpty(); Collection<T> getItems(); void clear(); T getItemByKey(final String key);  }