@Test public void testRemove() { final String s = "an string"; tested.remove(s); verify(stack, times(1)).remove(s); }
public boolean remove(final T item) { return items.remove(item); }
StackRegistry implements DynamicRegistry<T> { public boolean remove(final T item) { return items.remove(item); } }
StackRegistry implements DynamicRegistry<T> { public boolean remove(final T item) { return items.remove(item); } StackRegistry(final KeyProvider<T> keyProvider,
                         final Stack<T> items); }
StackRegistry implements DynamicRegistry<T> { public boolean remove(final T item) { return items.remove(item); } StackRegistry(final KeyProvider<T> keyProvider,
                         final Stack<T> items); T peek(); T pop(); @Override void register(final T item); boolean remove(final T item); @Override boolean contains(final T item); @Override boolean isEmpty(); T getItemByKey(final String id); int indexOf(final T item); }
StackRegistry implements DynamicRegistry<T> { public boolean remove(final T item) { return items.remove(item); } StackRegistry(final KeyProvider<T> keyProvider,
                         final Stack<T> items); T peek(); T pop(); @Override void register(final T item); boolean remove(final T item); @Override boolean contains(final T item); @Override boolean isEmpty(); T getItemByKey(final String id); int indexOf(final T item);  }