SimpleListIterator extends AbstractListIterator { @Override NamedResource nextValue() { resolveNextListNode(); return NamedResource.create(currentNode.getURI()); } SimpleListIterator(SimpleListDescriptor descriptor, StorageConnector connector);   }
@Test public void removeWithoutReconnectRemovesFirstElementInList() { final List<URI> list = generateList(); final SimpleListIterator iterator = new SimpleListIterator(descriptor(null), connectorMock); iterator.nextValue(); iterator.removeWithoutReconnect(); verify(connectorMock).remove(RESOURCE, HAS_LIST, createResource(list.get(0).toString()), null); }