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