@Test public void testNotEmpty() { EntryHolder entryHolder = mock(EntryHolder.class); Map map = new HashMap(); map.put("1", "value"); ValueCollection valueCollection = new ValueCollection(entryHolder, map.entrySet()); assertFalse(valueCollection.isEmpty()); }
public boolean isEmpty() { return entrySet.size() == 0; }
ValueCollection implements Collection<V> { public boolean isEmpty() { return entrySet.size() == 0; } }
ValueCollection implements Collection<V> { public boolean isEmpty() { return entrySet.size() == 0; } ValueCollection(EntryHolder<K, V> proxy, Set<Entry<K, V>> entrySet); }
ValueCollection implements Collection<V> { public boolean isEmpty() { return entrySet.size() == 0; } ValueCollection(EntryHolder<K, V> proxy, Set<Entry<K, V>> entrySet); boolean add(V arg0); boolean addAll(Collection<? extends V> arg0); void clear(); boolean contains(Object arg0); boolean containsAll(Collection<?> arg0); boolean isEmpty(); Iterator<V> iterator(); boolean remove(Object arg0); boolean removeAll(Collection<?> arg0); boolean retainAll(Collection<?> arg0); int size(); Object[] toArray(); T[] toArray(final T[] a); }
ValueCollection implements Collection<V> { public boolean isEmpty() { return entrySet.size() == 0; } ValueCollection(EntryHolder<K, V> proxy, Set<Entry<K, V>> entrySet); boolean add(V arg0); boolean addAll(Collection<? extends V> arg0); void clear(); boolean contains(Object arg0); boolean containsAll(Collection<?> arg0); boolean isEmpty(); Iterator<V> iterator(); boolean remove(Object arg0); boolean removeAll(Collection<?> arg0); boolean retainAll(Collection<?> arg0); int size(); Object[] toArray(); T[] toArray(final T[] a);  }