@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());
}