ModelsImpl implements Models { @Override public Iterator<String> iterator() { return map.keySet().iterator(); }  @Override Models put(String name, Object model); @Override Object get(String name); @Override T get(String name, Class<T> type); @Override Map<String, Object> asMap(); @Override Iterator<String> iterator();  }
@Test public void testIterator() { ModelsImpl models = new ModelsImpl(); assertNotNull(models.iterator()); }