WDSObject implements IObject, IObjectWrapper { @Override public Iterator<Map.Entry<IFieldName, Object>> iterator() { return null; } WDSObject(final IObject wrapperConfig);  WDSObject(final WDSObjectFieldSet fieldSet); @Override Object getValue(final IFieldName name); @Override void setValue(final IFieldName name, final Object value); @Override void deleteField(final IFieldName name); @Override T serialize(); @Override Iterator<Map.Entry<IFieldName, Object>> iterator(); @Override void init(final IObject environment); @Override IObject getEnvironmentIObject(final IFieldName fieldName);  }
@Test public void checkNullOnUseGetIterator() throws Exception { IObject wObj = new WDSObject((IObject) null); Iterator it = wObj.iterator(); assertNull(it); }