StatementParameterList extends AbstractCollection<JdbcStatementParameter> implements StatementParameterCollection { @Override public Iterator<JdbcStatementParameter> iterator() { return getParameters().iterator(); } StatementParameterList();  StatementParameterList(List<JdbcStatementParameter> parameters); @Override JdbcStatementParameter getParameterByName(String name); @Override boolean add(JdbcStatementParameter parameter); @Override Iterator<JdbcStatementParameter> iterator(); @Override int size(); @Override void add(int index, JdbcStatementParameter element); @Override boolean addAll(Collection<? extends JdbcStatementParameter> c); @Override boolean addAll(int index, Collection<? extends JdbcStatementParameter> c); @Override JdbcStatementParameter get(int index); @Override int indexOf(Object o); @Override int lastIndexOf(Object o); @Override ListIterator<JdbcStatementParameter> listIterator(); @Override ListIterator<JdbcStatementParameter> listIterator(int index); @Override JdbcStatementParameter remove(int index); @Override JdbcStatementParameter set(int index, JdbcStatementParameter element); @Override List<JdbcStatementParameter> subList(int fromIndex, int toIndex); @Override void clear(); List<JdbcStatementParameter> getParameters(); void setParameters(List<JdbcStatementParameter> parameters);  }
@Test public void testIterator() { StatementParameterList list = addEntries(new StatementParameterList(), 2); assertNotNull(list.iterator()); assertTrue(list.iterator().hasNext()); }