@Test( expected = UnsupportedOperationException.class )
public void shouldReturnImmutableSegmentsIterator() {

    Iterator<Segment> iter = path.iterator();
    if (iter.hasNext()) {
        iter.remove();
    }
}