### Question:
AssetPagingIterator extends AssetPropertyBase implements Iterator<AssetPropertyBase> { public int getElementCount() { return totalElementCount; } 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 testElementCount() { MockAssetPropertyIterator propertyIterator = new MockAssetPropertyIterator(null, 30, 10); assertTrue(propertyIterator.getElementCount() == 30); }