### Question:
AssetRelatedMediaReferences extends AssetPropertyIteratorBase implements Iterator<AssetRelatedMediaReference> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetRelatedMediaReferences(AssetDescriptor parentAsset,
                                       int                          totalElementCount,
                                       int                          maxCacheSize);  AssetRelatedMediaReferences(AssetDescriptor parentAsset, AssetRelatedMediaReferences template); @Override boolean hasNext(); @Override AssetRelatedMediaReference next(); @Override void remove(); @Override String toString();  }### Answer:
@Test public void testRemove() { try { getPropertyIterator(30, 10).remove(); } catch (OCFRuntimeException err) { assertTrue(err.getMessage().contains("OCF-PROPERTIES-400-018 ")); } catch (Throwable exc) { assertTrue(false); } }