@Test public void testHasNext() { RangeIterator delegate = mock(RangeIterator.class); RangeIteratorFacade<RangeIterator> facade = getFacade(delegate); when(delegate.hasNext()).thenReturn(true); assertTrue("should be true", facade.hasNext()); }
@Override public final boolean hasNext() { return delegate.hasNext(); }
RangeIteratorFacade implements RangeIterator { @Override public final boolean hasNext() { return delegate.hasNext(); } }
RangeIteratorFacade implements RangeIterator { @Override public final boolean hasNext() { return delegate.hasNext(); } RangeIteratorFacade(final @NotNull R delegate); }
RangeIteratorFacade implements RangeIterator { @Override public final boolean hasNext() { return delegate.hasNext(); } RangeIteratorFacade(final @NotNull R delegate); @Override final void skip(long skipNum); @Override final long getSize(); @Override final long getPosition(); @Override final boolean hasNext(); @Override Object next(); }
RangeIteratorFacade implements RangeIterator { @Override public final boolean hasNext() { return delegate.hasNext(); } RangeIteratorFacade(final @NotNull R delegate); @Override final void skip(long skipNum); @Override final long getSize(); @Override final long getPosition(); @Override final boolean hasNext(); @Override Object next();  }