@Test
    public void shouldClearIterators() {
        final List<String> list = new ArrayList<>();
        list.add("test1");
        list.add("test2");
        list.add("test3");

        final AbortiveMultiIterator<String> itty = new AbortiveMultiIterator<>();
        itty.addIterator(list.iterator());

        itty.clear();

        assertThat(itty.hasNext(), is(false));
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/util/iterator/AbortiveMultiIteratorTest.java