@Test
public void testGetSize() {

    RangeIterator delegate = mock(RangeIterator.class);
    RangeIteratorFacade<RangeIterator> facade = getFacade(delegate);
    final long size = 5L;
    when(delegate.getSize()).thenReturn(size);
    assertEquals("should be equal", size, facade.getSize());
}