### Question:
AbstractRegistryWrapper implements Registry<T> { @Override public boolean isEmpty() { return wrapped.isEmpty(); } protected  AbstractRegistryWrapper(final R wrapped); @Override boolean contains(final T item); @Override boolean isEmpty();  }### Answer:
@Test public void testEmpty() { when(registry.isEmpty()).thenReturn(true); boolean empty = tested.isEmpty(); assertTrue(empty); }
@Test public void testNotEmpty() { boolean empty = registry.isEmpty(); assertFalse(empty); }